Hook maximum allowed rating into the configuration
I wonder if max posts should be a setter in DanbooruService...
This commit is contained in:
parent
2f8d935dd6
commit
e1045e1fa6
2 changed files with 12 additions and 3 deletions
|
@ -27,6 +27,7 @@
|
|||
#include <KSharedDataCache>
|
||||
#include <KImageCache>
|
||||
|
||||
#include "libdanbooru/danboorupost.h"
|
||||
|
||||
class QQuickWidget;
|
||||
|
||||
|
@ -75,6 +76,7 @@ private:
|
|||
DanbooruService *m_service;
|
||||
DanbooruConnectWidget *m_connectWidget;
|
||||
KImageCache *m_cache;
|
||||
static QHash<int, DanbooruPost::Rating> ratingMap;
|
||||
|
||||
};
|
||||
} // namespace Danbooru
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue