|
|
@ -633,6 +633,7 @@ bool KRandrSimpleAPI::applySystemwideDisplayConfiguration(TQPtrList<SingleScreen
|
|
|
|
|
|
|
|
|
|
|
|
TQString xrandr_command_output = exec(command.ascii());
|
|
|
|
TQString xrandr_command_output = exec(command.ascii());
|
|
|
|
xrandr_command_output = xrandr_command_output.stripWhiteSpace();
|
|
|
|
xrandr_command_output = xrandr_command_output.stripWhiteSpace();
|
|
|
|
|
|
|
|
if (test) {
|
|
|
|
if (xrandr_command_output != "") {
|
|
|
|
if (xrandr_command_output != "") {
|
|
|
|
applySystemwideDisplayConfiguration(oldconfig, FALSE, kde_confdir);
|
|
|
|
applySystemwideDisplayConfiguration(oldconfig, FALSE, kde_confdir);
|
|
|
|
accepted = false;
|
|
|
|
accepted = false;
|
|
|
@ -640,6 +641,7 @@ bool KRandrSimpleAPI::applySystemwideDisplayConfiguration(TQPtrList<SingleScreen
|
|
|
|
KMessageBox::sorry(0, xrandr_command_output, i18n("XRandR encountered a problem"));
|
|
|
|
KMessageBox::sorry(0, xrandr_command_output, i18n("XRandR encountered a problem"));
|
|
|
|
return accepted;
|
|
|
|
return accepted;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// HACK
|
|
|
|
// HACK
|
|
|
|
// This is needed because Qt does not properly generate screen
|
|
|
|
// This is needed because Qt does not properly generate screen
|
|
|
|