diff options
| author | Tannin <devnull@localhost> | 2013-03-22 18:57:45 +0100 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2013-03-22 18:57:45 +0100 |
| commit | ec0ea9df8dabe686d3256665c7ed638660309915 (patch) | |
| tree | 39ff86ad325494c3531c159990ee695e84bee469 /src/modlist.cpp | |
| parent | 24cc3861912cc33235af587d4f4feb538c1054dc (diff) | |
| parent | 74c75e60d67b66a63225239c1f6b1403662857aa (diff) | |
Merge with default
Diffstat (limited to 'src/modlist.cpp')
| -rw-r--r-- | src/modlist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modlist.cpp b/src/modlist.cpp index dad77d68..bc838a98 100644 --- a/src/modlist.cpp +++ b/src/modlist.cpp @@ -146,7 +146,7 @@ QVariant ModList::data(const QModelIndex &modelIndex, int role) const } else { if ((m_Profile->getModPriority(modIndex) == 0) && (role == Qt::DisplayRole)) { return tr("min"); - } else if ((m_Profile->getModPriority(modIndex) == m_Profile->numRegularMods() - 1) && + } else if ((m_Profile->getModPriority(modIndex) == static_cast<int>(m_Profile->numRegularMods()) - 1) && (role == Qt::DisplayRole)) { return tr("max"); } else { |
