mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
set the object name for all DockView based dialog (fix http://bugzilla.lyx.org/show_bug.cgi?id=4922)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25209 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
33258e1197
commit
f15ede6534
@ -38,6 +38,7 @@ public:
|
||||
)
|
||||
: QDockWidget(&parent, flags), Dialog(parent, name, title)
|
||||
{
|
||||
setObjectName(name);
|
||||
if (flags & Qt::Drawer)
|
||||
setFeatures(QDockWidget::NoDockWidgetFeatures);
|
||||
parent.addDockWidget(area, this);
|
||||
|
@ -35,7 +35,6 @@ namespace frontend {
|
||||
GuiToc::GuiToc(GuiView & parent, Qt::DockWidgetArea area, Qt::WindowFlags flags)
|
||||
: DockView(parent, "toc", qt_("Outline"), area, flags)
|
||||
{
|
||||
setObjectName("toc");
|
||||
widget_ = new TocWidget(parent, this);
|
||||
setWidget(widget_);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user