fix outline dialog for non-Mac platform.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20178 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-09-09 20:51:04 +00:00
parent c3e3534148
commit be38aa2638

View File

@ -194,9 +194,13 @@ Dialog * Dialogs::build(string const & name)
dialog = new GuiThesaurusDialog(lyxview_); dialog = new GuiThesaurusDialog(lyxview_);
#endif #endif
} else if (name == "toc") { } else if (name == "toc") {
#ifdef Q_WS_MACX
// On Mac show as a drawer at the right // On Mac show as a drawer at the right
dialog = new DockView<GuiToc, TocWidget>( dialog = new DockView<GuiToc, TocWidget>(guiview, name,
guiview, name, Qt::RightDockWidgetArea, Qt::Drawer); Qt::RightDockWidgetArea, Qt::Drawer);
#else
dialog = new DockView<GuiToc, TocWidget>(guiview, name);
#endif
} else if (name == "url") { } else if (name == "url") {
dialog = new GuiURLDialog(lyxview_); dialog = new GuiURLDialog(lyxview_);
} else if (name == "vspace") { } else if (name == "vspace") {