From a7ad087bd06654034924c1b139f40af4e5a88e6d Mon Sep 17 00:00:00 2001 From: Zach Fox Date: Thu, 6 Jun 2019 14:23:18 -0700 Subject: [PATCH] Fix BUGZ-201: Prevent MUTED banner from being cut off when muted on startup --- interface/src/ui/InteractiveWindow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/interface/src/ui/InteractiveWindow.cpp b/interface/src/ui/InteractiveWindow.cpp index 7e8c176424..2fbb665c48 100644 --- a/interface/src/ui/InteractiveWindow.cpp +++ b/interface/src/ui/InteractiveWindow.cpp @@ -150,7 +150,9 @@ InteractiveWindow::InteractiveWindow(const QString& sourceUrl, const QVariantMap if (status == QQuickView::Ready) { QQuickItem* rootItem = _dockWidget->getRootItem(); _dockWidget->getQuickView()->rootContext()->setContextProperty(EVENT_BRIDGE_PROPERTY, this); - QObject::connect(rootItem, SIGNAL(sendToScript(QVariant)), this, SLOT(qmlToScript(const QVariant&)), Qt::QueuedConnection); + QObject::connect(rootItem, SIGNAL(sendToScript(QVariant)), this, SLOT(qmlToScript(const QVariant&)), + Qt::QueuedConnection); + emit mainWindow->windowGeometryChanged(qApp->getWindow()->geometry()); } }); _dockWidget->setSource(QUrl(sourceUrl));