diff --git a/main.cpp b/main.cpp index 7de377536e..2e18ffe3f5 100644 --- a/main.cpp +++ b/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(); }