diff options
author | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2023-05-05 11:13:36 -0700 |
---|---|---|
committer | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2023-05-05 11:13:36 -0700 |
commit | 2fe3dc5960a6cc231891a91dd68fcc8b159e9365 (patch) | |
tree | 1c030becf4ce7460a88b5be022affb7c4be4ec90 /launcher/minecraft/mod/Mod.cpp | |
parent | fd7338d3f3f72ca9532f11c9759ad02bbc759c7c (diff) | |
download | PrismLauncher-2fe3dc5960a6cc231891a91dd68fcc8b159e9365.tar.gz PrismLauncher-2fe3dc5960a6cc231891a91dd68fcc8b159e9365.tar.bz2 PrismLauncher-2fe3dc5960a6cc231891a91dd68fcc8b159e9365.zip |
fix: fix qchar conversion and codeql
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'launcher/minecraft/mod/Mod.cpp')
-rw-r--r-- | launcher/minecraft/mod/Mod.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/launcher/minecraft/mod/Mod.cpp b/launcher/minecraft/mod/Mod.cpp index 392f7f2e..aabc2db4 100644 --- a/launcher/minecraft/mod/Mod.cpp +++ b/launcher/minecraft/mod/Mod.cpp @@ -206,7 +206,7 @@ void Mod::finishResolvingWithDetails(ModDetails&& details) if (!iconPath().isEmpty()) { m_pack_image_cache_key.was_read_attempt = false; } -}; +} auto Mod::provider() const -> std::optional<QString> { @@ -250,7 +250,7 @@ QPixmap Mod::icon(QSize size, Qt::AspectRatioMode mode) const qDebug() << "Mod" << name() << "Had it's icon evicted form the cache. reloading..."; PixmapCache::markCacheMissByEviciton(); } - // Imaged got evicted from the cache or an attmept to load it has not been made. load it and retry. + // Image got evicted from the cache or an attempt to load it has not been made. load it and retry. m_pack_image_cache_key.was_read_attempt = true; ModUtils::loadIconFile(*this); return icon(size); |