]> git.lyx.org Git - features.git/commitdiff
Let LyX compile when there is no session manager.
authorVincent van Ravesteijn <vfr@lyx.org>
Sat, 20 Nov 2010 01:43:18 +0000 (01:43 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Sat, 20 Nov 2010 01:43:18 +0000 (01:43 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36399 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiApplication.cpp

index 1f001a55fd7ec819c7470f6c3df1ebef6f052bcd..a557248b62a56033688d4605e2e7ce442090d4e5 100644 (file)
@@ -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())