next compil fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31537 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2009-10-06 10:12:20 +00:00
parent 230d5fc648
commit ff3b2b54f2

View File

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