From 6bb565d42e731344440879d02afb2a2e2edbe305 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Aug 2013 16:51:52 -0500 Subject: [PATCH] Fix prior commit (cherry picked from commit 8fb62409a1abf73cce043556316f75f0a7d6d1dd) --- src/kernel/qapplication.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/kernel/qapplication.cpp b/src/kernel/qapplication.cpp index 01b10f5..4c00bdb 100644 --- a/src/kernel/qapplication.cpp +++ b/src/kernel/qapplication.cpp @@ -1016,6 +1016,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 }