mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 22:06:25 +00:00
cfef7dc443
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
40 lines
825 B
QML
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()
|
|
}
|
|
}
|