]> git.lyx.org Git - lyx.git/commitdiff
next compil fix
authorPavel Sanda <sanda@lyx.org>
Tue, 6 Oct 2009 10:12:20 +0000 (10:12 +0000)
committerPavel Sanda <sanda@lyx.org>
Tue, 6 Oct 2009 10:12:20 +0000 (10:12 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31537 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiWorkArea.cpp

index eacbc142a7f2edbfd35c4f0e1ffcead5373f8955..fb93ae29037aeca78e091a75e7beaadc4d6842fc 100644 (file)
@@ -1384,7 +1384,9 @@ void TabWorkArea::showBar(bool show)
        tabBar()->setEnabled(show);
        tabBar()->setVisible(show);
        closeBufferButton->setVisible(show && lyxrc.single_close_tab_button);
+#if QT_VERSION >= 0x040500
        setTabsClosable(!lyxrc.single_close_tab_button);
+#endif
 }