From: Abdelrazak Younes Date: Sun, 9 Sep 2007 20:51:04 +0000 (+0000) Subject: fix outline dialog for non-Mac platform. X-Git-Tag: 1.6.10~8410 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=be38aa263889f5110bf5fde22e84389b326d4bbb;p=lyx.git fix outline dialog for non-Mac platform. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20178 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/Dialogs.cpp b/src/frontends/qt4/Dialogs.cpp index be51c85475..d26f9b7fc3 100644 --- a/src/frontends/qt4/Dialogs.cpp +++ b/src/frontends/qt4/Dialogs.cpp @@ -194,9 +194,13 @@ Dialog * Dialogs::build(string const & name) dialog = new GuiThesaurusDialog(lyxview_); #endif } else if (name == "toc") { +#ifdef Q_WS_MACX // On Mac show as a drawer at the right - dialog = new DockView( - guiview, name, Qt::RightDockWidgetArea, Qt::Drawer); + dialog = new DockView(guiview, name, + Qt::RightDockWidgetArea, Qt::Drawer); +#else + dialog = new DockView(guiview, name); +#endif } else if (name == "url") { dialog = new GuiURLDialog(lyxview_); } else if (name == "vspace") {