No need for quoting with KProcess.

svn path=/trunk/kdebase/kwin/; revision=290537
This commit is contained in:
Luboš Luňák 2004-02-23 13:45:36 +00:00
parent 3abd0ebdf0
commit 37d83f6c9c

View file

@ -1967,23 +1967,23 @@ void Workspace::helperDialog( const QString& message, const Client* c )
QString type; QString type;
if( message == "noborderaltf3" ) if( message == "noborderaltf3" )
{ {
args << "--msgbox" << ( "\'" args << "--msgbox" <<
+ i18n( "You have selected to show a window without its border.\n" i18n( "You have selected to show a window without its border.\n"
"Without the border, you won't be able to enable the border " "Without the border, you won't be able to enable the border "
"again using the mouse. Use the window operations menu instead, " "again using the mouse. Use the window operations menu instead, "
"activated using the %1 keyboard shortcut." ) "activated using the %1 keyboard shortcut." )
.arg( keys->shortcut( "Window Operations Menu" ).seq( 0 ).toString()) + "\'" ); .arg( keys->shortcut( "Window Operations Menu" ).seq( 0 ).toString());
type = "altf3warning"; type = "altf3warning";
} }
else if( message == "fullscreenaltf3" ) else if( message == "fullscreenaltf3" )
{ {
args << "--msgbox" << ( "\'" args << "--msgbox" <<
+ i18n( "You have selected to show a window in fullscreen mode.\n" i18n( "You have selected to show a window in fullscreen mode.\n"
"If the application itself doesn't have an option to turn the fullscreen " "If the application itself doesn't have an option to turn the fullscreen "
"mode off, you won't be able to disable it " "mode off, you won't be able to disable it "
"again using the mouse. Use the window operations menu instead, " "again using the mouse. Use the window operations menu instead, "
"activated using the %1 keyboard shortcut." ) "activated using the %1 keyboard shortcut." )
.arg( keys->shortcut( "Window Operations Menu" ).seq( 0 ).toString()) + "\'" ); .arg( keys->shortcut( "Window Operations Menu" ).seq( 0 ).toString());
type = "altf3warning"; type = "altf3warning";
} }
else else