Don't restart in a never-ending loop, just exit on cancel.
svn path=/trunk/KDE/kdebase/workspace/; revision=742729
This commit is contained in:
parent
24b3a9b829
commit
add35c0095
1 changed files with 2 additions and 0 deletions
2
main.cpp
2
main.cpp
|
@ -193,6 +193,8 @@ Application::Application( )
|
|||
{
|
||||
cmd = dialog.selectedWM();
|
||||
}
|
||||
else
|
||||
::exit(1);
|
||||
if( cmd.length() > 500 )
|
||||
{
|
||||
kDebug() << "Command is too long, truncating";
|
||||
|
|
Loading…
Reference in a new issue