Merge pull request #8431 from ferrrry/game-window-class

Qt: Add "renderer" window role to render window
This commit is contained in:
Connor McLaughlin 2019-11-08 11:22:49 +10:00 committed by GitHub
commit 62f331dd13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,6 +40,7 @@ RenderWidget::RenderWidget(QWidget* parent) : QWidget(parent)
{ {
setWindowTitle(QStringLiteral("Dolphin")); setWindowTitle(QStringLiteral("Dolphin"));
setWindowIcon(Resources::GetAppIcon()); setWindowIcon(Resources::GetAppIcon());
setWindowRole(QStringLiteral("renderer"));
setAcceptDrops(true); setAcceptDrops(true);
QPalette p; QPalette p;