From 2017f82670012f0fc8c17963608717bd0230b80d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Mon, 30 Sep 2013 11:13:38 +0200 Subject: [PATCH] [kwinscripts] KFileDialog -> QFileDialog --- kcmkwin/kwinscripts/module.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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;