diff options
author | Nadia Holmquist Pedersen <nadia@nhp.sh> | 2023-12-31 13:52:58 +0100 |
---|---|---|
committer | Nadia Holmquist Pedersen <nadia@nhp.sh> | 2023-12-31 13:52:58 +0100 |
commit | 8bfc6df8de216eff0be4be1dbe37b19a741bed51 (patch) | |
tree | f47af8ab86cc5bda642662fc1e378a3791d64ce0 /src | |
parent | 63141c086a63e4af47f4b17eaad600d44e8933fb (diff) |
TitleManagerDialog: Fix wrong color format
Diffstat (limited to 'src')
-rw-r--r-- | src/frontend/qt_sdl/TitleManagerDialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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? |