]> git.lyx.org Git - features.git/commitdiff
Do not float the outliner in OSX (#9825)
authorGuillaume Munch <gm@lyx.org>
Fri, 6 May 2016 02:53:28 +0000 (03:53 +0100)
committerGuillaume Munch <gm@lyx.org>
Sat, 21 May 2016 17:54:38 +0000 (18:54 +0100)
There are focus issues in qt5 when the outliner is floating.

src/frontends/qt4/GuiToc.cpp

index 7a64ba496909c65d5056eb3b8c708cb254b3062f..f603c567166a2ef4e5ed6ebebaf83ff2c3563fc9 100644 (file)
@@ -95,15 +95,7 @@ bool GuiToc::getStatus(Cursor & cur, FuncRequest const & cmd,
 
 Dialog * createGuiToc(GuiView & lv)
 {
-       GuiToc * toc;
-#ifdef Q_OS_MAC
-       // On Mac show at the right and floating
-       toc = new GuiToc(lv, Qt::RightDockWidgetArea);
-       toc->setFloating(true);
-#else
-       toc = new GuiToc(lv);
-#endif
-       return toc;
+       return new GuiToc(lv);
 }