From 8fb62409a1abf73cce043556316f75f0a7d6d1dd Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Aug 2013 16:51:52 -0500 Subject: Fix prior commit --- src/kernel/qapplication.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/kernel/qapplication.cpp b/src/kernel/qapplication.cpp index ec01281..aa2806e 100644 --- a/src/kernel/qapplication.cpp +++ b/src/kernel/qapplication.cpp @@ -1097,6 +1097,9 @@ void QApplication::initialize( int argc, char **argv, bool enable_sm ) session_key = new QString; session_manager = new QSessionManager( qApp, session_id, *session_key ); } + else { + session_manager = 0; + } #endif } -- cgit v1.2.3