summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2025-01-22 18:46:39 +0900
committerMichele Calgaro <[email protected]>2025-01-22 18:46:39 +0900
commitd27e729109d0d7cb900c3d4e8bb58bc61ea11c29 (patch)
treeacb6233cd022cd236cecbbab358e66fac7cd5f9c
parent51c9320086d98a02ba8b3c6c97276c4c983d54a2 (diff)
downloadksplash-engine-moodin-master.tar.gz
ksplash-engine-moodin-master.zip
Use tdeAppHEADmaster
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r--src/thememoodin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/thememoodin.cpp b/src/thememoodin.cpp
index d7fb17f..ed76465 100644
--- a/src/thememoodin.cpp
+++ b/src/thememoodin.cpp
@@ -45,7 +45,7 @@ ThemeMoodin::ThemeMoodin(TQWidget* parent, const char* name, const TQStringList&
void ThemeMoodin::readSettings()
{
- const TQRect screen = kapp->desktop()->screenGeometry(mTheme->xineramaScreen());
+ const TQRect screen = tdeApp->desktop()->screenGeometry(mTheme->xineramaScreen());
if (!mTheme)
return;
@@ -92,7 +92,7 @@ void ThemeMoodin::readSettings()
// so we can centre icons, JRiddell
int iconX = mBaseResolution.width();
int iconY = mBaseResolution.height();
- TQRect defaultScreen = kapp->desktop()->screenGeometry(0);
+ TQRect defaultScreen = tdeApp->desktop()->screenGeometry(0);
float scaleRatioWidth = ((float)mBaseResolution.width()) / ((float)defaultScreen.width());
// unused. float scaleRatioHeight = ((float)mBaseResolution.height()) / ((float)desktopWidget.height());