Shut up setParent warning.
Change-Id: I43af8bf83d3071f7c1d2eff082df5b1414f553b8 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
This commit is contained in:
parent
6fe4deca3f
commit
398f029f62
@ -126,6 +126,11 @@ Qt::WindowFlags QAndroidPlatformWindow::windowFlags() const
|
||||
return m_windowFlags;
|
||||
}
|
||||
|
||||
void QAndroidPlatformWindow::setParent(const QPlatformWindow *window)
|
||||
{
|
||||
Q_UNUSED(window);
|
||||
}
|
||||
|
||||
QAndroidPlatformScreen *QAndroidPlatformWindow::platformScreen() const
|
||||
{
|
||||
return static_cast<QAndroidPlatformScreen *>(window()->screen()->handle());
|
||||
|
@ -63,7 +63,7 @@ public:
|
||||
void setWindowState(Qt::WindowState state);
|
||||
void setWindowFlags(Qt::WindowFlags flags);
|
||||
Qt::WindowFlags windowFlags() const;
|
||||
|
||||
void setParent(const QPlatformWindow *window);
|
||||
WId winId() const { return m_windowId; }
|
||||
|
||||
QAndroidPlatformScreen *platformScreen() const;
|
||||
|
Loading…
Reference in New Issue
Block a user