mirror of
https://github.com/YACReader/yacreader
synced 2025-07-14 02:54:46 -04:00
Merge branch 'develop' of https://github.com/YACReader/yacreader into develop
This commit is contained in:
@ -11,6 +11,9 @@
|
||||
#include "comic_db.h"
|
||||
#include "db_helper.h"
|
||||
#include "reading_list_model.h"
|
||||
#ifdef use_unarr
|
||||
#include <unarr.h>
|
||||
#endif
|
||||
|
||||
// ci.number,ci.title,c.fileName,ci.numPages,c.id,c.parentId,c.path,ci.hash,ci.read
|
||||
#include "QsLog.h"
|
||||
@ -444,7 +447,7 @@ QVariant ComicModel::headerData(int section, Qt::Orientation orientation,
|
||||
return QVariant(QIcon(":/images/zip.png"));
|
||||
else if (ext.compare("rar", Qt::CaseInsensitive) == 0)
|
||||
return QVariant(QIcon(":/images/rar.png"));
|
||||
#ifndef use_unarr
|
||||
#if !defined(use_unarr) || (UNARR_API_VERSION >= 110)
|
||||
else if (ext.compare("7z", Qt::CaseInsensitive) == 0)
|
||||
return QVariant(QIcon(":/images/7z.png"));
|
||||
else if (ext.compare("cb7", Qt::CaseInsensitive) == 0)
|
||||
|
Reference in New Issue
Block a user