diff --git a/loadrunable.cpp b/loadrunable.cpp index 095fd76..c54ac99 100644 --- a/loadrunable.cpp +++ b/loadrunable.cpp @@ -364,7 +364,7 @@ void LoadRunable::run() std::shared_ptr rawImage; timer.start(); - if(m_file.endsWith(".CR2", Qt::CaseInsensitive) || m_file.endsWith(".NEF", Qt::CaseInsensitive) || m_file.endsWith(".DNG", Qt::CaseInsensitive)) + if(m_file.endsWith(".CR2", Qt::CaseInsensitive) || m_file.endsWith(".CR3", Qt::CaseInsensitive) || m_file.endsWith(".NEF", Qt::CaseInsensitive) || m_file.endsWith(".DNG", Qt::CaseInsensitive)) { loadRAW(m_file, info, rawImage); qDebug() << "LoadRAW" << timer.elapsed(); diff --git a/mainwindow.cpp b/mainwindow.cpp index 0ac8e57..9df671f 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -57,9 +57,9 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) _openFilter.append(" "); nameFilter.append(mimeType.suffixes()); } - _openFilter.append("*.fit *.fits *.xisf *.cr2 *.nef *.dng)"); + _openFilter.append("*.fit *.fits *.xisf *.cr2 *.cr3 *.nef *.dng)"); _openFilter.append(tr(";;All files (*)")); - nameFilter.append({"fit", "fits", "xisf", "cr2", "nef", "dng"}); + nameFilter.append({"fit", "fits", "xisf", "cr2", "cr3", "nef", "dng"}); m_info = new ImageInfo(this); QDockWidget *infoDock = new QDockWidget(tr("Image info"), this);