From 8aa171ef5509a82a6f087efc9f27f68cbf4214d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Pedersen?= Date: Wed, 10 Jan 2024 14:54:30 +0100 Subject: [PATCH] Added support for selecting images with "*.otif" extension in the file selector (#95) --- source/gui/ProjectTab/ProjectWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/gui/ProjectTab/ProjectWidget.cpp b/source/gui/ProjectTab/ProjectWidget.cpp index 4516738..78cbb3d 100644 --- a/source/gui/ProjectTab/ProjectWidget.cpp +++ b/source/gui/ProjectTab/ProjectWidget.cpp @@ -109,7 +109,7 @@ namespace fast { void ProjectWidget::selectFile() { // TODO: Unable to read .zvi and .scn (Zeiss and Leica). I'm wondering if they are stored in some unexpected way (not image pyramids) auto fileNames = QFileDialog::getOpenFileNames(this, tr("Select File(s)"), nullptr, - tr("WSI Files (*.tiff *.tif *.svs *.ndpi *.bif *.vms *.vsi *.mrxs);;All Files(*)"), //*.zvi *.scn)"), + tr("WSI Files (*.tiff *.tif *.svs *.ndpi *.bif *.vms *.vsi *.mrxs *.otif);;All Files(*)"), //*.zvi *.scn)"), nullptr, QFileDialog::DontUseNativeDialog); auto progDialog = QProgressDialog(this);