summaryrefslogtreecommitdiffstats
path: root/kdm
diff options
context:
space:
mode:
Diffstat (limited to 'kdm')
-rw-r--r--kdm/kfrontend/kgapp.cpp4
-rw-r--r--kdm/kfrontend/kgapp.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/kdm/kfrontend/kgapp.cpp b/kdm/kfrontend/kgapp.cpp
index 677b5ec2a..e83b61718 100644
--- a/kdm/kfrontend/kgapp.cpp
+++ b/kdm/kfrontend/kgapp.cpp
@@ -93,7 +93,7 @@ GreeterApp::GreeterApp()
}
}
-GreeterApp::GreeterApp(Display *dpy) : KApplication(dpy)
+GreeterApp::GreeterApp(Display *dpy, Qt::HANDLE visual, Qt::HANDLE colormap) : KApplication(dpy, visual, colormap)
{
pingInterval = _isLocal ? 0 : _pingInterval;
if (pingInterval) {
@@ -212,7 +212,7 @@ kg_main( const char *argv0 )
GreeterApp *app;
if ( (argb_visual_available == true) && (!_compositor.isEmpty()) ) {
- app = new GreeterApp(dpyi);
+ app = new GreeterApp(dpyi, Qt::HANDLE( visual ), Qt::HANDLE( colormap ));
}
else {
app = new GreeterApp();
diff --git a/kdm/kfrontend/kgapp.h b/kdm/kfrontend/kgapp.h
index 38c73d3c1..2c4374f47 100644
--- a/kdm/kfrontend/kgapp.h
+++ b/kdm/kfrontend/kgapp.h
@@ -34,7 +34,7 @@ class GreeterApp : public KApplication {
public:
GreeterApp();
- GreeterApp(Display *dpy);
+ GreeterApp(Display *dpy, Qt::HANDLE visual, Qt::HANDLE colormap);
virtual bool x11EventFilter( XEvent * );
protected: