feat: volume allow repeat

This commit is contained in:
Barry 2021-03-07 11:35:51 +08:00
parent 6f762f8b35
commit 54038a7b47

View file

@ -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;