Do not float the outliner in OSX (#9825)

There are focus issues in qt5 when the outliner is floating.
This commit is contained in:
Guillaume Munch 2016-05-06 03:53:28 +01:00
parent 5f36a413ae
commit 9a1afbf3ff

View 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);
}