Qt: Add filter for selecting forwarder images

This commit is contained in:
Vicki Pfau 2023-01-31 21:05:00 -08:00
parent bef88a4e13
commit 86327de14f
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ void ForwarderView::connectBrowseButton(QAbstractButton* button, QLineEdit* line
}
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()) {
return;
}