diff options
| author | Tannin <devnull@localhost> | 2014-12-20 14:45:08 +0100 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2014-12-20 14:45:08 +0100 |
| commit | 7bfb48d6abb248d9739281ae46f8e9f52fcd16e3 (patch) | |
| tree | d9e954d5a0bbad8559e2ddefd6ec018d4e59c1f2 /src/modlist.cpp | |
| parent | 88817c7f3b259550741c5e203fb28f7f705ce30c (diff) | |
cleanup
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, |
