summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/ConvertDialog.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2021-10-13 01:48:31 +0200
committerGitHub <noreply@github.com>2021-10-13 01:48:31 +0200
commit0315fcf934c03a45114a7c710b1124b5d79b4679 (patch)
tree734c347be4eb1befbec4649d7d9f061d9d8e4fe9 /Source/Core/DolphinQt/ConvertDialog.cpp
parentc2d17f3f17e08e702ca15feb2a41fef6b2e8a54e (diff)
parent839b04014e8152f136943a2ba1cc474a9c43abef (diff)
Merge pull request #10155 from malleoz/toggle-hotkeys-on-qfiledialog
Disable hotkeys on static QFileDialog calls
Diffstat (limited to 'Source/Core/DolphinQt/ConvertDialog.cpp')
-rw-r--r--Source/Core/DolphinQt/ConvertDialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/DolphinQt/ConvertDialog.cpp b/Source/Core/DolphinQt/ConvertDialog.cpp
index 097ca87a39..1777ef8e04 100644
--- a/Source/Core/DolphinQt/ConvertDialog.cpp
+++ b/Source/Core/DolphinQt/ConvertDialog.cpp
@@ -11,7 +11,6 @@
#include <QCheckBox>
#include <QComboBox>
-#include <QFileDialog>
#include <QGridLayout>
#include <QGroupBox>
#include <QLabel>
@@ -26,6 +25,7 @@
#include "DiscIO/Blob.h"
#include "DiscIO/ScrubbedBlob.h"
#include "DiscIO/WIABlob.h"
+#include "DolphinQt/QtUtils/DolphinFileDialog.h"
#include "DolphinQt/QtUtils/ModalMessageBox.h"
#include "DolphinQt/QtUtils/ParallelProgressDialog.h"
#include "UICommon/GameFile.h"
@@ -374,7 +374,7 @@ void ConvertDialog::Convert()
if (m_files.size() > 1)
{
- dst_dir = QFileDialog::getExistingDirectory(
+ dst_dir = DolphinFileDialog::getExistingDirectory(
this, tr("Select where you want to save the converted images"),
QFileInfo(QString::fromStdString(m_files[0]->GetFilePath())).dir().absolutePath());
@@ -383,7 +383,7 @@ void ConvertDialog::Convert()
}
else
{
- dst_path = QFileDialog::getSaveFileName(
+ dst_path = DolphinFileDialog::getSaveFileName(
this, tr("Select where you want to save the converted image"),
QFileInfo(QString::fromStdString(m_files[0]->GetFilePath()))
.dir()