Qt: smoother compat circles in list mode

This commit is contained in:
Megamouse 2019-05-04 18:13:49 +02:00
parent f480ba13c0
commit ea0f04e130
2 changed files with 5 additions and 4 deletions

View file

@ -1,4 +1,4 @@
#include "game_list_frame.h"
#include "game_list_frame.h"
#include "qt_utils.h"
#include "settings_dialog.h"
#include "table_item_delegate.h"
@ -1581,7 +1581,7 @@ int game_list_frame::PopulateGameList()
compat_item->setToolTip(game->compat.tooltip);
if (!game->compat.color.isEmpty())
{
compat_item->setData(Qt::DecorationRole, compat_pixmap(game->compat.color));
compat_item->setData(Qt::DecorationRole, compat_pixmap(game->compat.color, devicePixelRatio() * 2));
}
// Version