diff options
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/main.cpp b/src/main.cpp index 0bc4e80..4141fc0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -54,20 +54,6 @@ int main(int argc, char *argv[]) } } - QStringList expected_formats{"webp", "apng", "gif"}; - for (const QByteArray &i_format : QImageReader::supportedImageFormats()) - { - if (expected_formats.contains(i_format, Qt::CaseInsensitive)) - { - expected_formats.removeAll(i_format.toLower()); - } - } - - if (!expected_formats.isEmpty()) - { - call_error("Missing image formats: <b>" + expected_formats.join(", ") + "</b>.<br /><br /> Please make sure you have installed the application properly."); - } - QString p_language = Options::getInstance().language(); if (p_language.trimmed().isEmpty()) { |
