aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/mod/ResourcePackFolderModel.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/ResourcePackFolderModel.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/ResourcePackFolderModel.cpp')
-rw-r--r--launcher/minecraft/mod/ResourcePackFolderModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/minecraft/mod/ResourcePackFolderModel.cpp b/launcher/minecraft/mod/ResourcePackFolderModel.cpp
index 349353a5..b11e2262 100644
--- a/launcher/minecraft/mod/ResourcePackFolderModel.cpp
+++ b/launcher/minecraft/mod/ResourcePackFolderModel.cpp
@@ -89,7 +89,7 @@ QVariant ResourcePackFolderModel::data(const QModelIndex& index, int role) const
if (column == NameColumn && (at(row)->isSymLinkUnder(instDirPath()) || at(row)->isMoreThanOneHardLink()))
return APPLICATION->getThemedIcon("status-yellow");
if (column == ImageColumn) {
- return at(row)->image(QSize(64, 64), Qt::AspectRatioMode::KeepAspectRatioByExpanding);
+ return at(row)->image({32, 32}, Qt::AspectRatioMode::KeepAspectRatioByExpanding);
}
return {};
}