fix: 快捷键存在问题

Description: 修改放大的快捷键

Log: 修改放大的快捷键为Ctrl+=
Change-Id: Id410b5709cd6b202a5686d7c1ee9005d3b55768e
This commit is contained in:
liuminghang 2021-06-25 17:45:47 +08:00
parent a7e7c64fbd
commit 84aa3515d0

View File

@ -268,7 +268,7 @@ void MainWidget::loadingUi()
void MainWidget::initShortcut() void MainWidget::initShortcut()
{ {
m_scAddView = new QShortcut(QKeySequence("Ctrl++"), this); m_scAddView = new QShortcut(QKeySequence("Ctrl+="), this);
m_scAddView->setContext(Qt::WindowShortcut); m_scAddView->setContext(Qt::WindowShortcut);
connect(m_scAddView, &QShortcut::activated, this, [ = ] { connect(m_scAddView, &QShortcut::activated, this, [ = ] {
if (m_imageview) if (m_imageview)