mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix shader selector on Ubuntu (fixes #767)
This commit is contained in:
parent
8504737efd
commit
d0550de675
1
CHANGES
1
CHANGES
|
@ -165,6 +165,7 @@ Bugfixes:
|
||||||
- PSP2: Use custom localtime_r since newlib version is broken (fixes mgba.io/i/560)
|
- 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)
|
- GBA SIO: Improve SIO Normal dummy driver (fixes mgba.io/i/520)
|
||||||
- Qt: Fix patch loading while a game is running
|
- Qt: Fix patch loading while a game is running
|
||||||
|
- Qt: Fix shader selector on Ubuntu (fixes mgba.io/i/767)
|
||||||
Misc:
|
Misc:
|
||||||
- Qt: Add language selector
|
- Qt: Add language selector
|
||||||
- GBA Timer: Improve accuracy of timers
|
- GBA Timer: Improve accuracy of timers
|
||||||
|
|
|
@ -62,7 +62,7 @@ void ShaderSelector::clear() {
|
||||||
void ShaderSelector::selectShader() {
|
void ShaderSelector::selectShader() {
|
||||||
QString path(GBAApp::dataDir());
|
QString path(GBAApp::dataDir());
|
||||||
path += QLatin1String("/shaders");
|
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.setFileMode(QFileDialog::Directory);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
QStringList names = dialog.selectedFiles();
|
QStringList names = dialog.selectedFiles();
|
||||||
|
|
Loading…
Reference in New Issue