diff options
author | Anselmo L. S. Melo <anselmo.melo@openbossa.org> | 2013-01-03 13:26:05 -0200 |
---|---|---|
committer | Anselmo L. S. Melo <anselmo.melo@openbossa.org> | 2013-01-03 14:00:55 -0200 |
commit | 3868c3566268fc0227d3ef116db77b6c8e33011e (patch) | |
tree | 7f49a42b105a19f11f69d74dfc968de6f099c674 | |
parent | a75bde5ab2835a775a761162a9df72be7620b071 (diff) |
Build with Qt 5.0.0
Replace setWindowFlags with setFlags.
Reviewed-by: TrustMe
-rw-r--r-- | src/core/PopupWindow.cpp | 2 | ||||
-rw-r--r-- | src/desktop/BrowserWindow.cpp | 2 | ||||
-rw-r--r-- | src/mobile/BrowserWindowMobile.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/core/PopupWindow.cpp b/src/core/PopupWindow.cpp index 1146033..2ec6992 100644 --- a/src/core/PopupWindow.cpp +++ b/src/core/PopupWindow.cpp @@ -21,7 +21,7 @@ PopupWindow::PopupWindow(QWindow* parent) : QQuickWindow(parent) { - setWindowFlags(Qt::Popup); + setFlags(Qt::Popup); QSurfaceFormat surfaceFormat; surfaceFormat.setAlphaBufferSize(8); setFormat(surfaceFormat); diff --git a/src/desktop/BrowserWindow.cpp b/src/desktop/BrowserWindow.cpp index 8bda7f9..ccf284e 100644 --- a/src/desktop/BrowserWindow.cpp +++ b/src/desktop/BrowserWindow.cpp @@ -38,7 +38,7 @@ BrowserWindow::BrowserWindow(const QStringList& arguments) : m_urlsFromCommandLine(arguments) , m_browserView(0) { - setWindowFlags(Qt::Window | Qt::WindowSystemMenuHint | Qt::WindowTitleHint | Qt::WindowMinMaxButtonsHint | Qt::WindowCloseButtonHint); + setFlags(Qt::Window | Qt::WindowSystemMenuHint | Qt::WindowTitleHint | Qt::WindowMinMaxButtonsHint | Qt::WindowCloseButtonHint); QSurfaceFormat surfaceFormat; surfaceFormat.setAlphaBufferSize(8); setFormat(surfaceFormat); diff --git a/src/mobile/BrowserWindowMobile.cpp b/src/mobile/BrowserWindowMobile.cpp index 15ba4bf..82f36aa 100644 --- a/src/mobile/BrowserWindowMobile.cpp +++ b/src/mobile/BrowserWindowMobile.cpp @@ -30,7 +30,7 @@ BrowserWindowMobile::BrowserWindowMobile() : m_browserView(0) { - setWindowFlags(Qt::Window | Qt::WindowSystemMenuHint | Qt::WindowTitleHint | Qt::WindowMinMaxButtonsHint | Qt::WindowCloseButtonHint); + setFlags(Qt::Window | Qt::WindowSystemMenuHint | Qt::WindowTitleHint | Qt::WindowMinMaxButtonsHint | Qt::WindowCloseButtonHint); setupDeclarativeEnvironment(); m_browserView = qobject_cast<QQuickItem*>(rootObject()); Q_ASSERT(m_browserView); |