summaryrefslogtreecommitdiffstats
path: root/kget/settings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kget/settings.cpp')
-rw-r--r--kget/settings.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kget/settings.cpp b/kget/settings.cpp
index 35451760..3489c9b4 100644
--- a/kget/settings.cpp
+++ b/kget/settings.cpp
@@ -35,7 +35,7 @@
#include <tqdir.h>
-#include "kmainwidget.h"
+#include "tdemainwidget.h"
#include "transferlist.h"
#include "droptarget.h"
#include "settings.h"
@@ -271,9 +271,9 @@ void Settings::save()
// write main window geometry properties
config->setGroup("MainGeometry");
- config->writeEntry("Position", kmain->pos());
- config->writeEntry("Size", kmain->size());
- config->writeEntry("State", KWin::windowInfo(kmain->winId()).state());
+ config->writeEntry("Position", tdemain->pos());
+ config->writeEntry("Size", tdemain->size());
+ config->writeEntry("State", KWin::windowInfo(tdemain->winId()).state());
// write drop target geometry properties
config->setGroup("DropGeometry");