summaryrefslogtreecommitdiffstats
path: root/kgoldrunner/src
diff options
context:
space:
mode:
Diffstat (limited to 'kgoldrunner/src')
-rw-r--r--kgoldrunner/src/kgoldrunner.cpp2
-rw-r--r--kgoldrunner/src/main.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kgoldrunner/src/kgoldrunner.cpp b/kgoldrunner/src/kgoldrunner.cpp
index 54726d8f..9497a7ef 100644
--- a/kgoldrunner/src/kgoldrunner.cpp
+++ b/kgoldrunner/src/kgoldrunner.cpp
@@ -100,7 +100,7 @@ KGoldrunner::KGoldrunner()
#ifdef QT3
// Base size of playing-area and widgets on the monitor resolution.
- int dw = KApplication::desktop()->width();
+ int dw = TDEApplication::desktop()->width();
if (dw > 800) { // More than 800x600.
view->changeSize (+1); // Scale 1.25:1.
}
diff --git a/kgoldrunner/src/main.cpp b/kgoldrunner/src/main.cpp
index f7058c20..5c6c0b9d 100644
--- a/kgoldrunner/src/main.cpp
+++ b/kgoldrunner/src/main.cpp
@@ -28,7 +28,7 @@ int main (int argc, char **argv)
TDECmdLineArgs::init (argc, argv, &about);
- KApplication app;
+ TDEApplication app;
// Register as a DCOP client.
app.dcopClient()->registerAs (app.name(), false);