summaryrefslogtreecommitdiffstats
path: root/knode/knglobals.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knode/knglobals.cpp')
-rw-r--r--knode/knglobals.cpp27
1 files changed, 27 insertions, 0 deletions
diff --git a/knode/knglobals.cpp b/knode/knglobals.cpp
index be9bb1488..eaf026e8d 100644
--- a/knode/knglobals.cpp
+++ b/knode/knglobals.cpp
@@ -32,6 +32,33 @@
#include "knmainwidget.h"
#include "knwidgets.h"
+KNGlobals::KNGlobals() :
+ mNetAccess( 0 ),
+ mCfgManager( 0 ),
+ mAccManager( 0 ),
+ mGrpManager( 0 ),
+ mArtManager( 0 ),
+ mFilManager( 0 ),
+ mFolManager( 0 ),
+ mMemManager( 0 )
+{
+}
+
+KNGlobals::~KNGlobals( )
+{
+#if 0
+// hmm.. something in here is causing an 'impossible' crash. let's ignore the cleanup then.
+ delete mNetAccess;
+ delete mCfgManager;
+ delete mAccManager;
+ delete mGrpManager;
+ delete mArtManager;
+ delete mFilManager;
+ delete mFolManager;
+ delete mMemManager;
+#endif
+}
+
KConfig* KNGlobals::config()
{
if (!c_onfig) {