Browse Source

Fix failure to start TDE session when twinrc wmArguments is empty.

tags/r14.0.0
Darrell Anderson 8 years ago
parent
commit
1c47936390
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      tdeinit/phase1.cpp

+ 3
- 0
tdeinit/phase1.cpp View File

@@ -74,6 +74,9 @@ int main(int argc, char **argv)
if (wmToLaunch == "") {
return_code = system("kwrapper ksmserver");
}
else if (wmArguments == "") {
return_code = system((TQString("kwrapper ksmserver --windowmanager %1").arg(wmToLaunch)).ascii());
}
else {
return_code = system((TQString("kwrapper ksmserver --windowmanager %1 --windowmanageraddargs %2").arg(wmToLaunch).arg(wmArguments)).ascii());
}


Loading…
Cancel
Save