diff options
author | Alexis Menard <alexis.menard@openbossa.org> | 2012-07-26 10:16:51 -0300 |
---|---|---|
committer | Alexis Menard <alexis.menard@openbossa.org> | 2012-07-26 10:17:26 -0300 |
commit | d181ceb8f979d5d5a3c28b4be687c36993161f72 (patch) | |
tree | c124e5cd87444d762ac441566becf7c7f3a60b05 | |
parent | 6c2bd2f03daa5989336f82def942bf2c8deb0857 (diff) |
Build fix after Qt5 source incompatible changes.
Reviewed-by: TrustMe
-rw-r--r-- | src/core/PopupWindow.cpp | 2 | ||||
-rw-r--r-- | src/desktop/BrowserWindow.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/PopupWindow.cpp b/src/core/PopupWindow.cpp index 6978b56..6c2c61d 100644 --- a/src/core/PopupWindow.cpp +++ b/src/core/PopupWindow.cpp @@ -26,7 +26,7 @@ PopupWindow::PopupWindow(QWindow* parent) surfaceFormat.setAlphaBufferSize(8); setFormat(surfaceFormat); setClearBeforeRendering(true); - setClearColor(QColor(Qt::transparent)); + setColor(QColor(Qt::transparent)); } void PopupWindow::showEvent(QShowEvent* ev) diff --git a/src/desktop/BrowserWindow.cpp b/src/desktop/BrowserWindow.cpp index 522f44c..8bda7f9 100644 --- a/src/desktop/BrowserWindow.cpp +++ b/src/desktop/BrowserWindow.cpp @@ -43,7 +43,7 @@ BrowserWindow::BrowserWindow(const QStringList& arguments) surfaceFormat.setAlphaBufferSize(8); setFormat(surfaceFormat); setClearBeforeRendering(true); - setClearColor(QColor(Qt::transparent)); + setColor(QColor(Qt::transparent)); qmlRegisterType<Shortcut>("Snowshoe", 1, 0, "Shortcut"); restoreWindowGeometry(); setupDeclarativeEnvironment(); |