diff options
| author | Al <gabriel.cortesi@outlook.com> | 2019-12-09 00:56:10 +0100 |
|---|---|---|
| committer | Al <gabriel.cortesi@outlook.com> | 2019-12-09 00:56:10 +0100 |
| commit | 27c05cebd58ea33e0465b886d47a2dd9d8fc2ddc (patch) | |
| tree | 39d94e9929872330d4b9530f37812856f46c0e98 | |
| parent | df54f972fff57a7c7afe8dfb44efda43d76e8c78 (diff) | |
Change compact size for the conflicts column to be shorter since there are less flags here.
| -rw-r--r-- | src/mainwindow.cpp | 2 | ||||
| -rw-r--r-- | src/modconflicticondelegate.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 274e07c1..8eff26c5 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -554,7 +554,7 @@ void MainWindow::setupModList() ModConflictIconDelegate* conflictFlagDelegate = new ModConflictIconDelegate( - ui->modList, ModList::COL_CONFLICTFLAGS, 120); + ui->modList, ModList::COL_CONFLICTFLAGS, 80); connect( ui->modList->header(), SIGNAL(sectionResized(int, int, int)), diff --git a/src/modconflicticondelegate.h b/src/modconflicticondelegate.h index d36477c6..8645da12 100644 --- a/src/modconflicticondelegate.h +++ b/src/modconflicticondelegate.h @@ -8,7 +8,7 @@ class ModConflictIconDelegate : public IconDelegate Q_OBJECT; public: - explicit ModConflictIconDelegate(QObject *parent = 0, int logicalIndex = -1, int compactSize = 120); + explicit ModConflictIconDelegate(QObject *parent = 0, int logicalIndex = -1, int compactSize = 80); virtual QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const; static QList<QString> getIconsForFlags( |
