diff options
Diffstat (limited to 'src/modlist.cpp')
| -rw-r--r-- | src/modlist.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/modlist.cpp b/src/modlist.cpp index d294bdd1..43862008 100644 --- a/src/modlist.cpp +++ b/src/modlist.cpp @@ -464,17 +464,7 @@ bool ModList::setData(const QModelIndex &index, const QVariant &value, int role) } -ModList::EColumn ModList::getEnabledColumn(int index) const -{ - for (int i = 0; i <= COL_LASTCOLUMN; ++i) { - if (index == 0) { - return static_cast<EColumn>(i); - } else { - --index; - } - } - return ModList::COL_NAME; -} + QVariant ModList::headerData(int section, Qt::Orientation orientation, |
