Support for third party qt image plugins

This commit is contained in:
smahot
2020-09-24 10:14:57 +02:00
committed by Felix Kauselmann
parent 948ed595e7
commit f6bed8590f
2 changed files with 22 additions and 2 deletions

View File

@ -76,8 +76,8 @@ public:
//check if the comic has failed loading
bool hasBeenAnErrorOpening();
inline static QStringList getSupportedImageFormats() { return imageExtensions; }
inline static QStringList getSupportedImageLiteralFormats() { return literalImageExtensions; }
static QStringList getSupportedImageFormats();
static QStringList getSupportedImageLiteralFormats();
static bool fileIsComic(const QString &path);
static QList<QString> findValidComicFiles(const QList<QUrl> &list);