Commit 18b7da94 authored by Volker Krause's avatar Volker Krause

Set the correct graphics system in code instead of relying on the

command line switch from the wrapper scripts. Stops the apps from
killing my X when I forget the command line option.

svn path=/trunk/KDE/kdepim/mobile/; revision=1158262
parent 46f0d59c
......@@ -73,6 +73,9 @@ KDeclarativeApplication::KDeclarativeApplication()
void KDeclarativeApplication::initCmdLine()
{
// doesn't really belong here, but needs to be called before the ctor
QApplication::setGraphicsSystem( "raster" );
KCmdLineOptions options;
options.add("timeit", ki18n("start timers for various parts of the application startup"));
KCmdLineArgs::addCmdLineOptions(options);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment