Make it possible to force-lock the screen even if idle timer hasn't tripped. Add shortcuts for lock and unlock of screen
This commit is contained in:
parent
807a21e9af
commit
47a380ad38
4 changed files with 8 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ class LockOverlay(QWidget):
|
|||
|
||||
self._btn = QPushButton(strings._("lock_overlay_unlock"), self)
|
||||
self._btn.setObjectName("unlockButton")
|
||||
self._btn.setShortcut("Ctrl+Shift+U")
|
||||
self._btn.setFixedWidth(200)
|
||||
self._btn.setCursor(Qt.PointingHandCursor)
|
||||
self._btn.setAutoDefault(True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue