diff options
author | Michele Calgaro <[email protected]> | 2025-01-22 18:46:39 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2025-01-22 18:46:39 +0900 |
commit | d27e729109d0d7cb900c3d4e8bb58bc61ea11c29 (patch) | |
tree | acb6233cd022cd236cecbbab358e66fac7cd5f9c | |
parent | 51c9320086d98a02ba8b3c6c97276c4c983d54a2 (diff) | |
download | ksplash-engine-moodin-master.tar.gz ksplash-engine-moodin-master.zip |
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r-- | src/thememoodin.cpp | 4 |
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()); |