summaryrefslogtreecommitdiffstats
path: root/src/kernel
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-08-15 16:51:52 -0500
committerTimothy Pearson <[email protected]>2013-08-15 16:51:52 -0500
commit8fb62409a1abf73cce043556316f75f0a7d6d1dd (patch)
tree2db2e3e5ef2091ad59cdda5ead0c0ee3bc5af98a /src/kernel
parent7c0bc39229bbba839dea93fe12b0d2cdbe21eec0 (diff)
downloadqt3-8fb62409a1abf73cce043556316f75f0a7d6d1dd.tar.gz
qt3-8fb62409a1abf73cce043556316f75f0a7d6d1dd.zip
Fix prior commit
Diffstat (limited to 'src/kernel')
-rw-r--r--src/kernel/qapplication.cpp3
1 files changed, 3 insertions, 0 deletions
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
}