summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Suhren <suhren.stefan@fh-swf.de>2015-06-08 12:53:02 +0200
committerStefan Suhren <suhren.stefan@fh-swf.de>2015-06-08 12:53:02 +0200
commit37fdb6fd45fc55fe335b5b29419289081b721ea1 (patch)
tree3042804d0c0b4694c314b8c2a36a973df6b606c5
parent53e348a62f3a6e92a5bf2cfb1b72b0c4742eef66 (diff)
downloadGUI_SS2015-37fdb6fd45fc55fe335b5b29419289081b721ea1.tar.gz
GUI_SS2015-37fdb6fd45fc55fe335b5b29419289081b721ea1.zip
New QT fixes nativ KDE File Dialog bugHEADmaster
-rw-r--r--mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp
index 10b8d36..b5a8a61 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -47,7 +47,7 @@ void MainWindow::on_actionLoad_triggered()
{
QString fileName = QFileDialog::getOpenFileName(this, tr("Load an XML file"),
QStandardPaths::standardLocations(QStandardPaths::HomeLocation).at(0),
- tr("XML File (*.xml *.Xml *.XML)"), 0, QFileDialog::DontUseNativeDialog);
+ tr("XML File (*.xml *.Xml *.XML)"));
if(lastUsedFile)
{
@@ -84,7 +84,7 @@ void MainWindow::on_actionSave_As_triggered()
{
QString fileName = QFileDialog::getSaveFileName(this, tr("Load an XML file"),
QStandardPaths::standardLocations(QStandardPaths::HomeLocation).at(0),
- tr("XML File (*.xml *.Xml *.XML)"), 0, QFileDialog::DontUseNativeDialog);
+ tr("XML File (*.xml *.Xml *.XML)"));
if (lastUsedFile)
{