From: Guillaume Munch Date: Fri, 6 May 2016 02:53:28 +0000 (+0100) Subject: Do not float the outliner in OSX (#9825) X-Git-Tag: 2.2.0~11 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=9a1afbf3ffffee1dbb75e978d5e8282b061754c5;p=features.git Do not float the outliner in OSX (#9825) There are focus issues in qt5 when the outliner is floating. --- diff --git a/src/frontends/qt4/GuiToc.cpp b/src/frontends/qt4/GuiToc.cpp index 7a64ba4969..f603c56716 100644 --- a/src/frontends/qt4/GuiToc.cpp +++ b/src/frontends/qt4/GuiToc.cpp @@ -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); }