Stefan cfef7dc443 fix(CPP): fix linux compiling issues
Fix BigInt compilation on linux
Remove c++20 optimization for NamedType
Add assert for failing getChats that was providing an easy to miss warning
Enable linux CI build
Don't run tests. They fail to run in docker with
 "malloc_consolidate(): invalid chunk size", probably due to status-go
2022-08-23 19:38:23 +02:00

40 lines
825 B
QML

import QtQuick
/*!
*/
Item {
required property Window window;
property alias enableHideWindow: hideWindowShortcut.enabled
Shortcut {
sequences: [StandardKey.FullScreen]
onActivated: {
if (visibility === Window.FullScreen)
window.showNormal()
else
window.showFullScreen()
}
}
Shortcut {
sequence: "Ctrl+M"
onActivated: {
if (visibility === Window.Minimized)
window.showNormal()
else
window.showMinimized()
}
}
Shortcut {
id: hideWindowShortcut
sequences: [StandardKey.Close]
onActivated: window.visible = false;
}
Shortcut {
sequence: StandardKey.Quit
onActivated: Qt.quit()
}
}