diff options
Diffstat (limited to 'src/linguist/linguist/mainwindow.cpp')
-rw-r--r-- | src/linguist/linguist/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linguist/linguist/mainwindow.cpp b/src/linguist/linguist/mainwindow.cpp index f443d25ea..235efd747 100644 --- a/src/linguist/linguist/mainwindow.cpp +++ b/src/linguist/linguist/mainwindow.cpp @@ -2809,7 +2809,7 @@ bool MainWindow::eventFilter(QObject *object, QEvent *event) } else if (event->type() == QEvent::Wheel) { QWheelEvent *we = static_cast<QWheelEvent *>(event); if (we->modifiers() & Qt::ControlModifier) { - if (we->delta() > 0) + if (we->angleDelta().y() > 0) m_messageEditor->increaseFontSize(); else m_messageEditor->decreaseFontSize(); |