diff options
| author | Tannin <sherb@gmx.net> | 2016-06-19 16:01:15 +0200 |
|---|---|---|
| committer | Tannin <sherb@gmx.net> | 2016-06-19 16:01:15 +0200 |
| commit | cd83f4e7324966c9387dad19e8b15b12d902e182 (patch) | |
| tree | 2125ba86cf856749d375f9849ecfd9943321a324 /src/modflagicondelegate.cpp | |
| parent | 4f25a0689f9b4050a3359bbd04d586faf0d906f0 (diff) | |
reduced number of mod content icons a bit because they take too much space
Diffstat (limited to 'src/modflagicondelegate.cpp')
| -rw-r--r-- | src/modflagicondelegate.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modflagicondelegate.cpp b/src/modflagicondelegate.cpp index 5c4167ad..61df0a0d 100644 --- a/src/modflagicondelegate.cpp +++ b/src/modflagicondelegate.cpp @@ -12,8 +12,7 @@ ModFlagIconDelegate::ModFlagIconDelegate(QObject *parent) {
}
-QList<QString> ModFlagIconDelegate::getIcons(const QModelIndex &index) const
-{
+QList<QString> ModFlagIconDelegate::getIcons(const QModelIndex &index) const {
QList<QString> result;
QVariant modid = index.data(Qt::UserRole + 1);
if (modid.isValid()) {
@@ -21,7 +20,8 @@ QList<QString> ModFlagIconDelegate::getIcons(const QModelIndex &index) const std::vector<ModInfo::EFlag> flags = info->getFlags();
{ // insert conflict icon first to provide nicer alignment
- auto iter = std::find_first_of(flags.begin(), flags.end(), m_ConflictFlags, m_ConflictFlags + 4);
+ auto iter = std::find_first_of(flags.begin(), flags.end(),
+ m_ConflictFlags, m_ConflictFlags + 4);
if (iter != flags.end()) {
result.append(getFlagIcon(*iter));
flags.erase(iter);
|
