diff options
Diffstat (limited to 'kipi-plugins/slideshow/screenproperties.cpp')
-rw-r--r-- | kipi-plugins/slideshow/screenproperties.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kipi-plugins/slideshow/screenproperties.cpp b/kipi-plugins/slideshow/screenproperties.cpp index aa6e92d..5c321a4 100644 --- a/kipi-plugins/slideshow/screenproperties.cpp +++ b/kipi-plugins/slideshow/screenproperties.cpp @@ -47,7 +47,7 @@ namespace KIPISlideShowPlugin unsigned ScreenProperties::suggestFrameRate() { int eventBase, errorBase; - if ( !XRRQueryExtension(qt_xdisplay(), &eventBase, &errorBase)) { + if ( !XRRQueryExtension(tqt_xdisplay(), &eventBase, &errorBase)) { // No information, make a lucky guess on based on that ;) return 25; } @@ -56,7 +56,7 @@ namespace KIPISlideShowPlugin XRRScreenConfiguration* config; int screenRate; - config = XRRGetScreenInfo(qt_xdisplay(), RootWindow(qt_xdisplay(), + config = XRRGetScreenInfo(tqt_xdisplay(), RootWindow(tqt_xdisplay(), activeScreen)); screenRate = XRRConfigCurrentRate(config); XRRFreeScreenConfigInfo(config); |