mirror of https://github.com/mgba-emu/mgba.git
Qt: Add filter for selecting forwarder images
This commit is contained in:
parent
bef88a4e13
commit
86327de14f
|
@ -189,7 +189,7 @@ void ForwarderView::connectBrowseButton(QAbstractButton* button, QLineEdit* line
|
||||||
}
|
}
|
||||||
|
|
||||||
void ForwarderView::selectImage() {
|
void ForwarderView::selectImage() {
|
||||||
QString filename = GBAApp::app()->getOpenFileName(this, tr("Select an image"), {});
|
QString filename = GBAApp::app()->getOpenFileName(this, tr("Select an image"), tr("Image files (*.png *.jpg *.bmp)"));
|
||||||
if (filename.isEmpty()) {
|
if (filename.isEmpty()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue