summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 210f2aa1f..99bc5c598 100644
--- a/src/kernel/qapplication.cpp
+++ b/src/kernel/qapplication.cpp
@@ -1097,6 +1097,9 @@ void TQApplication::initialize( int argc, char **argv, bool enable_sm )
session_key = new TQString;
session_manager = new TQSessionManager( tqApp, session_id, *session_key );
}
+ else {
+ session_manager = 0;
+ }
#endif
}