From d0550de67570b34716d4ac4873f7d9b5e2fcf151 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sat, 8 Jul 2017 13:54:20 -0700 Subject: [PATCH] Qt: Fix shader selector on Ubuntu (fixes #767) --- CHANGES | 1 + src/platform/qt/ShaderSelector.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 9ede0d364..1e9145c11 100644 --- a/CHANGES +++ b/CHANGES @@ -165,6 +165,7 @@ Bugfixes: - PSP2: Use custom localtime_r since newlib version is broken (fixes mgba.io/i/560) - GBA SIO: Improve SIO Normal dummy driver (fixes mgba.io/i/520) - Qt: Fix patch loading while a game is running + - Qt: Fix shader selector on Ubuntu (fixes mgba.io/i/767) Misc: - Qt: Add language selector - GBA Timer: Improve accuracy of timers diff --git a/src/platform/qt/ShaderSelector.cpp b/src/platform/qt/ShaderSelector.cpp index 089fb2bd0..6d874b248 100644 --- a/src/platform/qt/ShaderSelector.cpp +++ b/src/platform/qt/ShaderSelector.cpp @@ -62,7 +62,7 @@ void ShaderSelector::clear() { void ShaderSelector::selectShader() { QString path(GBAApp::dataDir()); path += QLatin1String("/shaders"); - QFileDialog dialog(nullptr, tr("Load shader"), path, tr("%1 Shader (%.shader)").arg(projectName)); + QFileDialog dialog(nullptr, tr("Load shader"), path); dialog.setFileMode(QFileDialog::Directory); dialog.exec(); QStringList names = dialog.selectedFiles();