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:
Luboš Luňák 2007-11-28 19:34:22 +00:00
parent 24b3a9b829
commit add35c0095

View file

@ -193,6 +193,8 @@ Application::Application( )
{
cmd = dialog.selectedWM();
}
else
::exit(1);
if( cmd.length() > 500 )
{
kDebug() << "Command is too long, truncating";