aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/mod/ModFolderModel.cpp
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2023-08-12 10:58:27 +0200
committerSefa Eyeoglu <contact@scrumplex.net>2023-08-12 10:58:27 +0200
commit6423edaa76c362ea9fd32a4a0ddeda78e06793db (patch)
tree4e052ff604fc42831ef28fe1efa6fc77ed352b03 /launcher/minecraft/mod/ModFolderModel.cpp
parent74fe2fb2a6282a9292cc912b865ce0179dbc3412 (diff)
parent44153a28e369943ea16545146fec81f7a62e44dd (diff)
downloadPrismLauncher-6423edaa76c362ea9fd32a4a0ddeda78e06793db.tar.gz
PrismLauncher-6423edaa76c362ea9fd32a4a0ddeda78e06793db.tar.bz2
PrismLauncher-6423edaa76c362ea9fd32a4a0ddeda78e06793db.zip
Merge remote-tracking branch 'upstream/staging' into curseforge-url-handle
Diffstat (limited to 'launcher/minecraft/mod/ModFolderModel.cpp')
-rw-r--r--launcher/minecraft/mod/ModFolderModel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/launcher/minecraft/mod/ModFolderModel.cpp b/launcher/minecraft/mod/ModFolderModel.cpp
index 51383edf..4300ce50 100644
--- a/launcher/minecraft/mod/ModFolderModel.cpp
+++ b/launcher/minecraft/mod/ModFolderModel.cpp
@@ -61,6 +61,7 @@ ModFolderModel::ModFolderModel(const QString& dir, BaseInstance* instance, bool
m_column_names_translated = QStringList({ tr("Enable"), tr("Image"), tr("Name"), tr("Version"), tr("Last Modified"), tr("Provider") });
m_column_sort_keys = { SortType::ENABLED, SortType::NAME, SortType::NAME , SortType::VERSION, SortType::DATE, SortType::PROVIDER};
m_column_resize_modes = { QHeaderView::ResizeToContents, QHeaderView::Interactive, QHeaderView::Stretch, QHeaderView::ResizeToContents, QHeaderView::ResizeToContents, QHeaderView::ResizeToContents};
+ m_columnsHideable = { false, true, false, true, true, true };
}
QVariant ModFolderModel::data(const QModelIndex &index, int role) const