all repos — mgba @ ecc4d6ee03fa5df3ad5a3b45b635b684e1d87cc6

mGBA Game Boy Advance Emulator

Qt: Fix shader selector on Ubuntu (fixes #767)
Vicki Pfau vi@endrift.com
Sat, 08 Jul 2017 13:54:20 -0700
commit

ecc4d6ee03fa5df3ad5a3b45b635b684e1d87cc6

parent

382f5f944bd120bf367bb040d529c16ae326e802

2 files changed, 2 insertions(+), 1 deletions(-)

jump to
M CHANGESCHANGES

@@ -169,6 +169,7 @@ - Qt: Fix translation initialization (fixes mgba.io/i/776)

- 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
M src/platform/qt/ShaderSelector.cppsrc/platform/qt/ShaderSelector.cpp

@@ -62,7 +62,7 @@

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();