summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig
diff options
context:
space:
mode:
authorBoris Barbulovski <bbarbulovski@gmail.com>2015-09-22 11:36:04 -0700
committerMichal Marek <mmarek@suse.com>2015-10-14 14:59:00 +0200
commitbea00771f7d0964192da89d53adf3faf55b1daa9 (patch)
treeea6787b8065a551a2bb241011ee85c4abee3eb1e /scripts/kconfig
parent85eaf28a2683b11227fbcd77341339fe3642f795 (diff)
downloadblackbird-obmc-linux-bea00771f7d0964192da89d53adf3faf55b1daa9.tar.gz
blackbird-obmc-linux-bea00771f7d0964192da89d53adf3faf55b1daa9.zip
Port xconfig to Qt5 - Use QFileDialog
Signed-off-by: Boris Barbulovski <bbarbulovski@gmail.com> Signed-off-by: Thiago Macieira <thiago.macieira@intel.com> Signed-off-by: Michal Marek <mmarek@suse.com>
Diffstat (limited to 'scripts/kconfig')
-rw-r--r--scripts/kconfig/qconf.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc
index 601c8689a2cf..9f1a9cf90402 100644
--- a/scripts/kconfig/qconf.cc
+++ b/scripts/kconfig/qconf.cc
@@ -11,7 +11,7 @@
#include <q3textbrowser.h>
#include <QAction>
#include <q3header.h>
-#include <q3filedialog.h>
+#include <QFileDialog>
#include <q3dragobject.h>
#include <q3popupmenu.h>
@@ -1457,7 +1457,7 @@ ConfigMainWindow::ConfigMainWindow(void)
void ConfigMainWindow::loadConfig(void)
{
- QString s = Q3FileDialog::getOpenFileName(conf_get_configname(), NULL, this);
+ QString s = QFileDialog::getOpenFileName(conf_get_configname(), NULL, this);
if (s.isNull())
return;
if (conf_read(QFile::encodeName(s)))
@@ -1476,7 +1476,7 @@ bool ConfigMainWindow::saveConfig(void)
void ConfigMainWindow::saveConfigAs(void)
{
- QString s = Q3FileDialog::getSaveFileName(conf_get_configname(), NULL, this);
+ QString s = QFileDialog::getSaveFileName(conf_get_configname(), NULL, this);
if (s.isNull())
return;
saveConfig();
OpenPOWER on IntegriCloud