diff --git a/kcmkwin/kwinscripts/module.cpp b/kcmkwin/kwinscripts/module.cpp index 34c42b255c..9fd238431b 100644 --- a/kcmkwin/kwinscripts/module.cpp +++ b/kcmkwin/kwinscripts/module.cpp @@ -20,7 +20,9 @@ #include "module.h" #include "ui_module.h" +#include #include +#include #include #include #include @@ -28,7 +30,6 @@ #include #include #include -#include #include #include #include @@ -72,7 +73,8 @@ Module::~Module() void Module::importScript() { - QString path = KFileDialog::getOpenFileName(KUrl(), "*.kwinscript|KWin scripts (*.kwinscript)"); + QString path = QFileDialog::getOpenFileName(nullptr, i18n("Import KWin Script"), QDir::homePath(), + i18n("*.kwinscript|KWin scripts (*.kwinscript)")); if (path.isNull()) { return;