TitleManagerDialog: Fix wrong color format

This commit is contained in:
Nadia Holmquist Pedersen 2023-12-31 13:52:58 +01:00
parent 63141c086a
commit 8bfc6df8de
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ void TitleManagerDialog::createTitleItem(u32 category, u32 titleid)
u32 icondata[32*32];
ROMManager::ROMIcon(banner.Icon, banner.Palette, icondata);
QImage iconimg((const uchar*)icondata, 32, 32, QImage::Format_ARGB32);
QImage iconimg((const uchar*)icondata, 32, 32, QImage::Format_RGBA8888);
QIcon icon(QPixmap::fromImage(iconimg.copy()));
// TODO: make it possible to select other languages?