* GuiView.cpp:

- 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
This commit is contained in:
Jürgen Spitzmüller 2010-01-29 08:19:45 +00:00
parent 52c059e68a
commit d907d5421e

View File

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