]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiToc.cpp
Use QFontMetrics information for underlines (and friends) width and position
[lyx.git] / src / frontends / qt4 / GuiToc.cpp
index 9711bb68f6c8be99d9c71f82dc97f4dc35c32ab0..af9f6f957f403eaf85f29bad73f0a8dd5d0c789c 100644 (file)
@@ -98,7 +98,7 @@ bool GuiToc::getStatus(Cursor & cur, FuncRequest const & cmd,
 Dialog * createGuiToc(GuiView & lv)
 {
        GuiToc * toc;
-#ifdef Q_WS_MACX
+#ifdef Q_OS_MAC
        // On Mac show at the right and floating
        toc = new GuiToc(lv, Qt::RightDockWidgetArea);
        toc->setFloating(true);