aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/mod/ModFolderModel.cpp
diff options
context:
space:
mode:
authorRachel Powers <508861+Ryex@users.noreply.github.com>2023-05-05 11:28:19 -0700
committerRachel Powers <508861+Ryex@users.noreply.github.com>2023-05-05 11:28:19 -0700
commitee94be624eb11a12d4eb3e07c32ea4734b3ba6dc (patch)
tree084ef5c5914fad5be22d7d6e1355bb214cb8a8f0 /launcher/minecraft/mod/ModFolderModel.cpp
parent2fe3dc5960a6cc231891a91dd68fcc8b159e9365 (diff)
downloadPrismLauncher-ee94be624eb11a12d4eb3e07c32ea4734b3ba6dc.tar.gz
PrismLauncher-ee94be624eb11a12d4eb3e07c32ea4734b3ba6dc.tar.bz2
PrismLauncher-ee94be624eb11a12d4eb3e07c32ea4734b3ba6dc.zip
use 32x32 images for image column
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'launcher/minecraft/mod/ModFolderModel.cpp')
-rw-r--r--launcher/minecraft/mod/ModFolderModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/minecraft/mod/ModFolderModel.cpp b/launcher/minecraft/mod/ModFolderModel.cpp
index 8a58b9d7..f1c26e68 100644
--- a/launcher/minecraft/mod/ModFolderModel.cpp
+++ b/launcher/minecraft/mod/ModFolderModel.cpp
@@ -119,7 +119,7 @@ QVariant ModFolderModel::data(const QModelIndex &index, int role) const
if (column == NAME_COLUMN && (at(row)->isSymLinkUnder(instDirPath()) || at(row)->isMoreThanOneHardLink()))
return APPLICATION->getThemedIcon("status-yellow");
if (column == ImageColumn) {
- return at(row)->icon(QSize(64, 64), Qt::AspectRatioMode::KeepAspectRatioByExpanding);
+ return at(row)->icon({32, 32}, Qt::AspectRatioMode::KeepAspectRatioByExpanding);
}
return {};
}