Fix focus issue in trophies.
This commit is contained in:
@@ -11,6 +11,7 @@ inline QString qstr(const std::string& _in) { return QString::fromUtf8(_in.data(
|
|||||||
trophy_notification_frame::trophy_notification_frame(const std::vector<uchar>& imgBuffer, const SceNpTrophyDetails& trophy, int height) : QWidget()
|
trophy_notification_frame::trophy_notification_frame(const std::vector<uchar>& imgBuffer, const SceNpTrophyDetails& trophy, int height) : QWidget()
|
||||||
{
|
{
|
||||||
setWindowFlags(Qt::FramelessWindowHint);
|
setWindowFlags(Qt::FramelessWindowHint);
|
||||||
|
setAttribute(Qt::WA_ShowWithoutActivating);
|
||||||
|
|
||||||
// Fill the background with black
|
// Fill the background with black
|
||||||
QPalette black_background;
|
QPalette black_background;
|
||||||
|
|||||||
Reference in New Issue
Block a user