mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 02:42:50 +00:00
kcontrol: use static QProcess::execute() method in runRdb()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
9c773ca111
commit
f1e6adc7d6
1 changed files with 1 additions and 2 deletions
|
@ -534,14 +534,13 @@ void runRdb( uint flags )
|
|||
|
||||
tmpFile.flush();
|
||||
|
||||
QProcess proc;
|
||||
QStringList procargs;
|
||||
#ifndef NDEBUG
|
||||
procargs << "-merge" << tmpFile.fileName();
|
||||
#else
|
||||
procargs << "-quiet" << "-merge" << tmpFile.fileName();
|
||||
#endif
|
||||
proc.execute("xrdb", procargs);
|
||||
QProcess::execute("xrdb", procargs);
|
||||
|
||||
applyGtkStyles(exportColors, 1);
|
||||
applyGtkStyles(exportColors, 2);
|
||||
|
|
Loading…
Add table
Reference in a new issue