mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-04-20 03:25:02 +00:00
feat: volume allow repeat
This commit is contained in:
parent
6f762f8b35
commit
54038a7b47
1 changed files with 0 additions and 2 deletions
|
@ -249,7 +249,6 @@ void VideoForm::installShortcut()
|
|||
|
||||
// postVolumeUp
|
||||
shortcut = new QShortcut(QKeySequence("Ctrl+up"), this);
|
||||
shortcut->setAutoRepeat(false);
|
||||
connect(shortcut, &QShortcut::activated, this, [this]() {
|
||||
if (!m_device) {
|
||||
return;
|
||||
|
@ -259,7 +258,6 @@ void VideoForm::installShortcut()
|
|||
|
||||
// postVolumeDown
|
||||
shortcut = new QShortcut(QKeySequence("Ctrl+down"), this);
|
||||
shortcut->setAutoRepeat(false);
|
||||
connect(shortcut, &QShortcut::activated, this, [this]() {
|
||||
if (!m_device) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue