summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrBackground.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/KPrBackground.cpp')
-rw-r--r--kpresenter/KPrBackground.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/kpresenter/KPrBackground.cpp b/kpresenter/KPrBackground.cpp
index 91f01c7a1..ad7d6961b 100644
--- a/kpresenter/KPrBackground.cpp
+++ b/kpresenter/KPrBackground.cpp
@@ -523,11 +523,7 @@ void KPrBackGround::drawBackPix( TQPainter *_painter, const TQSize& ext, const T
// NOTE: make all multiplications before any division
double w = _origSize.width();
w *= ext.width();
-#if KDE_IS_VERSION(3,1,90)
TQRect desk = TDEGlobalSettings::desktopGeometry(tdeApp->activeWindow());
-#else
- TQRect desk = TQApplication::desktop()->screenGeometry();
-#endif
w /= desk.width();
double h = _origSize.height();
h *= ext.height();