Qt: Add "renderer" window role to render window
This commit is contained in:
parent
f54faedd76
commit
ae337dbea9
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue