KDialog::exec() doesn't return button code
svn path=/trunk/KDE/kdebase/workspace/; revision=717836
This commit is contained in:
parent
5654c77fa1
commit
4c7ac1fd5b
1 changed files with 1 additions and 1 deletions
2
main.cpp
2
main.cpp
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue