diff options
| author | Al <gabriel.cortesi@outlook.com> | 2019-05-23 15:39:21 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-05-23 15:39:21 +0200 |
| commit | a0500fef6c7db55c51334cc1bfc39cc9393fa16b (patch) | |
| tree | a295ecf24a5cab0f7e64b0308bb1ab1fb3a6b964 /src/mainwindow.cpp | |
| parent | 2f0cfa2930b5876319c5a3a1b0ddd7989d0ec51e (diff) | |
| parent | d9cdc244619c42b6f140e8ab6815bc7409231644 (diff) | |
Merge pull request #728 from isanae/Develop
Adds three columns in download list: mod name, version and nexus id
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 89cb9f56..1b95ea0b 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1897,6 +1897,12 @@ void MainWindow::processUpdates() { instance.remove(""); instance.endGroup(); } + if (lastVersion < QVersionNumber(2, 2, 1)) { + // hide new columns by default + for (int i=DownloadList::COL_MODNAME; i<DownloadList::COL_COUNT; ++i) { + ui->downloadView->header()->hideSection(i); + } + } } if (currentVersion > lastVersion) { |
