From ff3b2b54f2da589f107e064f63d2e4805b87f8e1 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Tue, 6 Oct 2009 10:12:20 +0000 Subject: [PATCH] next compil fix git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31537 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiWorkArea.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontends/qt4/GuiWorkArea.cpp b/src/frontends/qt4/GuiWorkArea.cpp index eacbc142a7..fb93ae2903 100644 --- a/src/frontends/qt4/GuiWorkArea.cpp +++ b/src/frontends/qt4/GuiWorkArea.cpp @@ -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 }