summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-05-22 22:43:23 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-05-22 22:43:23 -0400
commit77678b3765365e1ee5f440ffcd6f163d0cc3ae48 (patch)
treee1e418d67cb0a4b96f99d1e8bf71d89427292b9e /src/mainwindow.cpp
parent056ecb46778627e6867208244f0fbd3432efda47 (diff)
download list: added columns for mod name, version and nexus id
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp6
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) {