Diffstat (limited to 'noncore/apps/tinykate/tinykate.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/tinykate/tinykate.cpp | 10 |
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 | |||
@@ -36,4 +36,5 @@ | |||
36 | #include <katehighlight.h> | 36 | #include <katehighlight.h> |
37 | #include <kateview.h> | 37 | #include <kateview.h> |
38 | #include <kglobal.h> | ||
38 | 39 | ||
39 | TinyKate::TinyKate( QWidget *parent, const char *name, WFlags f) : | 40 | TinyKate::TinyKate( QWidget *parent, const char *name, WFlags f) : |
@@ -44,4 +45,5 @@ TinyKate::TinyKate( QWidget *parent, const char *name, WFlags f) : | |||
44 | viewCount=0; | 45 | viewCount=0; |
45 | setCaption(tr("TinyKATE")); | 46 | setCaption(tr("TinyKATE")); |
47 | KGlobal::setAppName("TinyKATE"); | ||
46 | 48 | ||
47 | setToolBarsMovable(FALSE); | 49 | setToolBarsMovable(FALSE); |
@@ -149,4 +151,12 @@ TinyKate::TinyKate( QWidget *parent, const char *name, WFlags f) : | |||
149 | } | 151 | } |
150 | 152 | ||
153 | TinyKate::~TinyKate( ) | ||
154 | { | ||
155 | qWarning("TinyKate destructor\n"); | ||
156 | if( KGlobal::config() != 0 ) { | ||
157 | qWarning("deleting KateConfig object..\n"); | ||
158 | delete KGlobal::config(); | ||
159 | } | ||
160 | } | ||
151 | 161 | ||
152 | void TinyKate::slotOpen( ) | 162 | void TinyKate::slotOpen( ) |