Fix build issues in windowchildgeometry manual test
Change-Id: Ia4cfe88dc30adbff0f00b5f8b846c78958a692d7 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
parent
dde20de1ba
commit
ef43195617
@ -284,7 +284,7 @@ public:
|
||||
{
|
||||
setObjectName(QStringLiteral("window"));
|
||||
setTitle(tr("TestWindow"));
|
||||
setFlags(flags() | Qt::MacUseNSWindow);
|
||||
setProperty("_q_platform_MacUseNSWindow", QVariant(true));
|
||||
}
|
||||
|
||||
protected:
|
||||
@ -317,7 +317,7 @@ void Window::mousePressEvent(QMouseEvent * ev)
|
||||
m_mouseDownPosition = ev->pos();
|
||||
}
|
||||
|
||||
void Window::mouseReleaseEvent(QMouseEvent * e)
|
||||
void Window::mouseReleaseEvent(QMouseEvent *)
|
||||
{
|
||||
m_mouseDownPosition = QPoint();
|
||||
}
|
||||
@ -408,7 +408,6 @@ WindowControl::WindowControl(QWindow *w )
|
||||
|
||||
void WindowControl::refresh()
|
||||
{
|
||||
const QWindow *w = static_cast<const QWindow *>(m_object);
|
||||
BaseWindowControl::refresh();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user