diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-02-16 22:38:05 -0800 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-02-17 21:44:00 -0800 |
commit | c81a2aabbf5df13711dc9ad739a12133093834a1 (patch) | |
tree | de753d311648cb380ce7cce5a47deb0e6d260606 /src/citra_qt/main.cpp | |
parent | c7c0219f8adf48dea66fd4785f4f9cdc1d229cec (diff) |
Qt: Allow any file extension in Open dialog
Diffstat (limited to 'src/citra_qt/main.cpp')
-rw-r--r-- | src/citra_qt/main.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp index 78538c5a77..b5d927cf28 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp @@ -471,7 +471,8 @@ void GMainWindow::OnMenuLoadFile() { for (const auto& piece : game_list->supported_file_extensions) extensions += "*." + piece + " "; - QString file_filter = tr("3DS executable") + " (" + extensions + ")"; + QString file_filter = tr("3DS Executable") + " (" + extensions + ")"; + file_filter += ";;" + tr("All Files (*.*)"); QString filename = QFileDialog::getOpenFileName(this, tr("Load File"), UISettings::values.roms_path, file_filter); @@ -484,7 +485,7 @@ void GMainWindow::OnMenuLoadFile() { void GMainWindow::OnMenuLoadSymbolMap() { QString filename = QFileDialog::getOpenFileName( - this, tr("Load Symbol Map"), UISettings::values.symbols_path, tr("Symbol map (*)")); + this, tr("Load Symbol Map"), UISettings::values.symbols_path, tr("Symbol Map (*.*)")); if (!filename.isEmpty()) { UISettings::values.symbols_path = QFileInfo(filename).path(); |