diff options
author | Lubos Dolezel <lubos@dolezel.info> | 2015-07-28 20:42:57 +0200 |
---|---|---|
committer | Lubos Dolezel <lubos@dolezel.info> | 2015-07-28 20:42:57 +0200 |
commit | 4b58b18865122c87ce3f547a0c82b1188b3773a9 (patch) | |
tree | f4bfe462ebb4ea544818b0935f511404356d36d3 /src | |
parent | a6fd43692d0bbcaf4d0e07c9fda023b4cd718a86 (diff) | |
download | twinkle-4b58b18865122c87ce3f547a0c82b1188b3773a9.tar twinkle-4b58b18865122c87ce3f547a0c82b1188b3773a9.tar.gz twinkle-4b58b18865122c87ce3f547a0c82b1188b3773a9.tar.lz twinkle-4b58b18865122c87ce3f547a0c82b1188b3773a9.tar.xz twinkle-4b58b18865122c87ce3f547a0c82b1188b3773a9.zip |
Fix incoming call popup repositioning
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/incoming_call_popup.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/incoming_call_popup.cpp b/src/gui/incoming_call_popup.cpp index 8397f45..1159ece 100644 --- a/src/gui/incoming_call_popup.cpp +++ b/src/gui/incoming_call_popup.cpp @@ -13,6 +13,7 @@ IncomingCallPopup::IncomingCallPopup(QObject *parent) : QObject(parent) // Qt5 QQuickView: setFlags() m_view->setWindowFlags(Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint | Qt::ToolTip); + m_view->rootContext()->setContextProperty("viewerWidget", m_view); m_view->setSource(QUrl("qrc:/qml/incoming_call.qml")); // Place into the middle of the screen |