summary refs log tree commit diff
path: root/resources/qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-11-09 02:57:01 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-11-09 02:57:01 +0100
commitebc93c8870fe10296e026f2c31e7ea532eacb193 (patch)
tree59b72008e2a592e0dd384c505aade312f03aab28 /resources/qml
parentAdd preliminary changelog (diff)
downloadnheko-ebc93c8870fe10296e026f2c31e7ea532eacb193.tar.xz
Explicitly namespace platform module
Diffstat (limited to 'resources/qml')
-rw-r--r--resources/qml/dialogs/LogoutDialog.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/qml/dialogs/LogoutDialog.qml b/resources/qml/dialogs/LogoutDialog.qml
index c571a89e..6098a289 100644
--- a/resources/qml/dialogs/LogoutDialog.qml
+++ b/resources/qml/dialogs/LogoutDialog.qml
@@ -2,18 +2,18 @@
 //
 // SPDX-License-Identifier: GPL-3.0-or-later
 
-import Qt.labs.platform 1.1
+import Qt.labs.platform 1.1 as P
 import QtQuick 2.15
 import QtQuick.Controls 2.15
 import im.nheko 1.0
 
-MessageDialog {
+P.MessageDialog {
     id: logoutRoot
 
     title: qsTr("Log out")
     text: CallManager.isOnCall ? qsTr("A call is in progress. Log out?") : qsTr("Are you sure you want to log out?")
     modality: Qt.WindowModal
     flags: Qt.Tool | Qt.WindowStaysOnTopHint | Qt.WindowCloseButtonHint | Qt.WindowTitleHint
-    buttons: MessageDialog.Ok | MessageDialog.Cancel
+    buttons: P.MessageDialog.Ok | P.MessageDialog.Cancel
     onAccepted: Nheko.logout()
 }