@ -4,19 +4,20 @@
import "./device-verification"
import "./ui"
import QtQuick 2.9
import QtQuick . Controls 2.3
import QtQuick 2.15
import QtQuick . Controls 2.15
import QtQuick . Layouts 1.2
import QtQuick . Window 2.3
import QtQuick . Window 2.1 3
import im . nheko 1.0
ApplicationWindow {
/ / t h i s d o e s n o t w o r k i n A p p l i c a t i o n W i n d o w , j u s t i n W i n d o w
/ / t r a n s i e n t P a r e n t : N h e k o . m a i n w i n d o w ( )
id: userProfileDialog
property var profile
x: MainWindow . x + ( MainWindow . width / 2 ) - ( width / 2 )
y: MainWindow . y + ( MainWindow . height / 2 ) - ( height / 2 )
height: 650
width: 420
minimumHeight: 420
@ -24,7 +25,8 @@ ApplicationWindow {
color: Nheko . colors . window
title: profile . isGlobalUserProfile ? qsTr ( "Global User Profile" ) : qsTr ( "Room User Profile" )
modality: Qt . NonModal
flags: Qt . Dialog
flags: Qt . Dialog | Qt . WindowCloseButtonHint
Component.onCompleted: Nheko . reparent ( userProfileDialog )
Shortcut {
sequence: StandardKey . Cancel