Reorder QML files to follow coding conventions
https://doc.qt.io/qt-5/qml-codingconventions.html#qml-object-declarations
This commit is contained in:
@@ -9,10 +9,6 @@ import "RoomPane"
|
||||
Item {
|
||||
id: chat
|
||||
|
||||
onFocusChanged: if (focus && loader.item) loader.item.composer.takeFocus()
|
||||
onReadyChanged: longLoading = false
|
||||
|
||||
|
||||
property string userId
|
||||
property string roomId
|
||||
|
||||
@@ -33,6 +29,9 @@ Item {
|
||||
Boolean(loader.item && loader.item.composer.hasFocus)
|
||||
|
||||
|
||||
onFocusChanged: if (focus && loader.item) loader.item.composer.takeFocus()
|
||||
onReadyChanged: longLoading = false
|
||||
|
||||
HShortcut {
|
||||
sequences: window.settings.keys.leaveRoom
|
||||
active: userInfo && userInfo.presence !== "offline"
|
||||
|
Reference in New Issue
Block a user