Dialog * createGuiSpellchecker(GuiView & lv) { GuiSpellchecker * gui = new GuiSpellchecker(lv); #ifdef Q_WS_MACX gui->setFloating(true); #endif return gui; }
Dialog * createGuiSpellchecker(GuiView & lv) { GuiSpellchecker * gui = new GuiSpellchecker(lv, Qt::RightDockWidgetArea); #ifdef Q_OS_MAC gui->setFloating(true); #endif return gui; }