]> git.lyx.org Git - features.git/commitdiff
* GuiView.cpp:
authorJürgen Spitzmüller <spitz@lyx.org>
Fri, 29 Jan 2010 08:19:45 +0000 (08:19 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Fri, 29 Jan 2010 08:19:45 +0000 (08:19 +0000)
- use tabbed dock area for multiple docks (such as "source" and "messages")
  by default (requires Qt 4.3).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33254 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiView.cpp

index 93099faaf7d5420424ac05cf614c589f32d9cfd9..8cbfc9e97ee527e4b319a509c25d645b9f7b23d1 100644 (file)
@@ -380,6 +380,12 @@ GuiView::GuiView(int id)
        setWindowIcon(getPixmap("images/", "lyx", "png"));
 #endif
 
+#if (QT_VERSION >= 0x040300)
+       // use tabbed dock area for multiple docks
+       // (such as "source" and "messages")
+       setDockOptions(QMainWindow::ForceTabbedDocks);
+#endif
+
        // For Drag&Drop.
        setAcceptDrops(true);