Qt: Add "renderer" window role to render window

This commit is contained in:
ferrrry 2019-10-25 22:51:05 +01:00
parent f54faedd76
commit ae337dbea9

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;