Fixed issue with upload hotkey. It was classified with the wrong set of hotkeys

This commit is contained in:
Jeremy Borgman
2021-03-04 11:51:35 -06:00
committed by borgmanJeremy
parent b531d2e0e8
commit e5f2257831
2 changed files with 0 additions and 6 deletions

View File

@@ -216,7 +216,6 @@ void CaptureWidget::updateButtons()
case CaptureToolButton::ButtonType::TYPE_COPY:
case CaptureToolButton::ButtonType::TYPE_UNDO:
case CaptureToolButton::ButtonType::TYPE_REDO:
case CaptureToolButton::ButtonType::TYPE_IMAGEUPLOADER:
// nothing to do, just skip non-dynamic buttons with existing
// hard coded slots
break;
@@ -1087,10 +1086,6 @@ void CaptureWidget::initShortcuts()
QVariant::fromValue(CaptureToolButton::ButtonType::TYPE_REDO).toString());
new QShortcut(QKeySequence(shortcut), this, SLOT(redo()));
shortcut = ConfigHandler().shortcut(
QVariant::fromValue(CaptureToolButton::ButtonType::TYPE_IMAGEUPLOADER)
.toString());
new QShortcut(QKeySequence(ConfigHandler().shortcut("TYPE_TOGGLE_PANEL")),
this,
SLOT(togglePanel()));