summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ksmserver/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ksmserver/main.cpp b/ksmserver/main.cpp
index 472883777..5ac04acf3 100644
--- a/ksmserver/main.cpp
+++ b/ksmserver/main.cpp
@@ -189,7 +189,7 @@ extern "C" KDE_EXPORT int kdemain( int argc, char* argv[] )
KCmdLineArgs::addCmdLineOptions( options );
putenv((char*)"SESSION_MANAGER=");
- KARGBApplication(a, false); // Disable styles until we need them.
+ KApplication a(KApplication::openX11RGBADisplay(), false); // Disable styles until we need them.
fcntl(ConnectionNumber(qt_xdisplay()), F_SETFD, 1);