Skip to content

Commit

Permalink
Follow API change for QPlatformWindow::setWindowFlags
Browse files Browse the repository at this point in the history
Change-Id: I442a592d0833a82594e55213a10308243324012c
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
  • Loading branch information
Thomas Senyk authored and Robert Griebl committed Oct 16, 2012
1 parent 378d410 commit cb7e079
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/plugins/platforms/wayland/qwaylandwindow.cpp
Expand Up @@ -307,11 +307,10 @@ Qt::WindowState QWaylandWindow::setWindowState(Qt::WindowState state)
return Qt::WindowNoState;
}

Qt::WindowFlags QWaylandWindow::setWindowFlags(Qt::WindowFlags flags)
void QWaylandWindow::setWindowFlags(Qt::WindowFlags flags)
{
if (mExtendedWindow)
return mExtendedWindow->setWindowFlags(flags);
return Qt::WindowFlags(0);
mExtendedWindow->setWindowFlags(flags);
}

QWaylandDecoration *QWaylandWindow::decoration() const
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/platforms/wayland/qwaylandwindow.h
Expand Up @@ -97,7 +97,7 @@ class QWaylandWindow : public QPlatformWindow
Qt::ScreenOrientation requestWindowOrientation(Qt::ScreenOrientation orientation);

Qt::WindowState setWindowState(Qt::WindowState state);
Qt::WindowFlags setWindowFlags(Qt::WindowFlags flags);
void setWindowFlags(Qt::WindowFlags flags);

bool isExposed() const;

Expand Down

0 comments on commit cb7e079

Please sign in to comment.