KDialog::exec() doesn't return button code

svn path=/trunk/KDE/kdebase/workspace/; revision=717836
This commit is contained in:
Rivo Laks 2007-09-27 17:04:56 +00:00
parent 5654c77fa1
commit 4c7ac1fd5b

View file

@ -161,7 +161,7 @@ Application::Application( )
// Something has gone seriously wrong
AlternativeWMDialog dialog;
QString cmd = "kwin";
if( dialog.exec() == KDialog::Ok )
if( dialog.exec() == QDialog::Accepted )
{
cmd = dialog.selectedWM();
}