]> git.lyx.org Git - features.git/commitdiff
set the object name for all DockView based dialog (fix http://bugzilla.lyx.org/show_b...
authorAbdelrazak Younes <younes@lyx.org>
Mon, 9 Jun 2008 14:09:27 +0000 (14:09 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Mon, 9 Jun 2008 14:09:27 +0000 (14:09 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25209 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/DockView.h
src/frontends/qt4/GuiToc.cpp

index 5b2cdd7a96fa44185a95fc74b70a4f7a827ba7e6..f79803463d54d37153447e121efe4a8359a8b08b 100644 (file)
@@ -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);
index 4b30e572ec4a96e6dd78f99581121219c9b931cd..268f373313daa41359548acd7a4cc04b4d2f46da 100644 (file)
@@ -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_);
 }