mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 06:15:26 +00:00
desktop/image-time-shift: use better filename filter
We already have a function to select all supported image formats. Let's just use that. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
10798c2a8d
commit
f50585a906
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ void ShiftImageTimesDialog::syncCameraClicked()
|
|||
QStringList fileNames = QFileDialog::getOpenFileNames(this,
|
||||
tr("Open image file"),
|
||||
DiveListView::lastUsedImageDir(),
|
||||
tr("Image files") + " (*.jpg *.jpeg)");
|
||||
QString("%1 (%2)").arg(tr("Image files"), imageExtensionFilters().join(" ")));
|
||||
if (fileNames.isEmpty())
|
||||
return;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue