Commit d360e3dc authored by Fabian Vogt's avatar Fabian Vogt

krdb: Call xrdb with -nocpp

Avoids the C preprocessor: fewer dependencies, less overhead.
parent 866c7ed1
......@@ -493,11 +493,11 @@ void runRdb( uint flags )
tmpFile.flush();
KProcess proc;
#ifndef NDEBUG
proc << QStringLiteral("xrdb") << QStringLiteral("-merge") << tmpFile.fileName();
#else
proc << "xrdb" << "-quiet" << "-merge" << tmpFile.fileName();
proc << QStringLiteral("xrdb") << QStringLiteral("-nocpp")
#ifdef NDEBUG
<< QStringLiteral("-quiet")
#endif
<< QStringLiteral("-merge") << tmpFile.fileName();
proc.execute();
applyGtkStyles(exportColors, 1);
......
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