From: Pavel Sanda Date: Tue, 6 Oct 2009 10:12:20 +0000 (+0000) Subject: next compil fix X-Git-Tag: 2.0.0~5407 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=ff3b2b54f2da589f107e064f63d2e4805b87f8e1;p=lyx.git next compil fix git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31537 a592a061-630c-0410-9148-cb99ea01b6c8 --- 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 }