summaryrefslogtreecommitdiff
path: root/noncore/apps/tinykate/tinykate.cpp
Side-by-side diff
Diffstat (limited to 'noncore/apps/tinykate/tinykate.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/tinykate/tinykate.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/noncore/apps/tinykate/tinykate.cpp b/noncore/apps/tinykate/tinykate.cpp
index 6164fa5..aecc1bd 100644
--- a/noncore/apps/tinykate/tinykate.cpp
+++ b/noncore/apps/tinykate/tinykate.cpp
@@ -37,2 +37,3 @@
#include <kateview.h>
+#include <kglobal.h>
@@ -45,2 +46,3 @@ TinyKate::TinyKate( QWidget *parent, const char *name, WFlags f) :
setCaption(tr("TinyKATE"));
+ KGlobal::setAppName("TinyKATE");
@@ -150,2 +152,10 @@ TinyKate::TinyKate( QWidget *parent, const char *name, WFlags f) :
+TinyKate::~TinyKate( )
+{
+ qWarning("TinyKate destructor\n");
+ if( KGlobal::config() != 0 ) {
+ qWarning("deleting KateConfig object..\n");
+ delete KGlobal::config();
+ }
+}