mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Let LyX compile when there is no session manager.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36399 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ff79d11bb7
commit
bc05bc2c59
@ -2268,9 +2268,8 @@ void GuiApplication::commitData(QSessionManager & sm)
|
||||
/// interaction.
|
||||
/// We are changing that to close all wiew one by one.
|
||||
/// FIXME: verify if the default implementation is enough now.
|
||||
|
||||
#ifdef QT_NO_SESSIONMANAGER
|
||||
#error Qt is compiled without session manager
|
||||
#warning Qt is compiled without session manager
|
||||
(void) sm;
|
||||
#else
|
||||
if (sm.allowsInteraction() && !closeAllViews())
|
||||
|
Loading…
Reference in New Issue
Block a user