From 8bfc6df8de216eff0be4be1dbe37b19a741bed51 Mon Sep 17 00:00:00 2001 From: Nadia Holmquist Pedersen Date: Sun, 31 Dec 2023 13:52:58 +0100 Subject: TitleManagerDialog: Fix wrong color format --- src/frontend/qt_sdl/TitleManagerDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/qt_sdl/TitleManagerDialog.cpp b/src/frontend/qt_sdl/TitleManagerDialog.cpp index eda1bbc..21ca844 100644 --- a/src/frontend/qt_sdl/TitleManagerDialog.cpp +++ b/src/frontend/qt_sdl/TitleManagerDialog.cpp @@ -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? -- cgit v1.2.3