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