mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-29 14:18:49 +03:00
make lint
This commit is contained in:
parent
21eb312f69
commit
7cd4e6f1c6
2 changed files with 2 additions and 4 deletions
|
@ -72,9 +72,9 @@ ApplicationWindow {
|
||||||
Component.onCompleted: forceActiveFocus()
|
Component.onCompleted: forceActiveFocus()
|
||||||
Keys.onShortcutOverride: event.accepted = ((event.key === Qt.Key_Return || event.key === Qt.Key_Enter) && (event.modifiers & Qt.ControlModifier))
|
Keys.onShortcutOverride: event.accepted = ((event.key === Qt.Key_Return || event.key === Qt.Key_Enter) && (event.modifiers & Qt.ControlModifier))
|
||||||
Keys.onPressed: {
|
Keys.onPressed: {
|
||||||
if ((event.key === Qt.Key_Return || event.key === Qt.Key_Enter) && (event.modifiers === Qt.ControlModifier)) {
|
if ((event.key === Qt.Key_Return || event.key === Qt.Key_Enter) && (event.modifiers === Qt.ControlModifier))
|
||||||
cleanUpAndClose();
|
cleanUpAndClose();
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -141,14 +141,12 @@ Page {
|
||||||
});
|
});
|
||||||
membersDialog.show();
|
membersDialog.show();
|
||||||
}
|
}
|
||||||
|
|
||||||
onOpenRoomSettingsDialog: {
|
onOpenRoomSettingsDialog: {
|
||||||
var roomSettings = roomSettingsComponent.createObject(timelineRoot, {
|
var roomSettings = roomSettingsComponent.createObject(timelineRoot, {
|
||||||
"roomSettings": settings
|
"roomSettings": settings
|
||||||
});
|
});
|
||||||
roomSettings.show();
|
roomSettings.show();
|
||||||
}
|
}
|
||||||
|
|
||||||
onOpenInviteUsersDialog: {
|
onOpenInviteUsersDialog: {
|
||||||
var dialog = inviteDialog.createObject(timelineRoot, {
|
var dialog = inviteDialog.createObject(timelineRoot, {
|
||||||
"roomId": Rooms.currentRoom.roomId,
|
"roomId": Rooms.currentRoom.roomId,
|
||||||
|
|
Loading…
Reference in a new issue