From: Vincent van Ravesteijn Date: Sat, 20 Nov 2010 01:43:18 +0000 (+0000) Subject: Let LyX compile when there is no session manager. X-Git-Tag: 2.0.0~1768 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=bc05bc2c59c5beef21844c7b377c0fc0606aa15e;p=features.git 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 --- diff --git a/src/frontends/qt4/GuiApplication.cpp b/src/frontends/qt4/GuiApplication.cpp index 1f001a55fd..a557248b62 100644 --- a/src/frontends/qt4/GuiApplication.cpp +++ b/src/frontends/qt4/GuiApplication.cpp @@ -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())