diff --git a/src/knoteedit.cpp b/src/knoteedit.cpp index d0561d3952ea8fc46e8ba6042c360a09cfdfae28..5ed9fa36aa40a44de618a11719ffa08dc7ae00ab 100644 --- a/src/knoteedit.cpp +++ b/src/knoteedit.cpp @@ -138,7 +138,7 @@ KNoteEdit::KNoteEdit(KActionCollection *actions, QWidget *parent) #if KWIDGETSADDONS_VERSION < QT_VERSION_CHECK(5, 78, 0) connect(m_textFont, qOverload(&KFontAction::triggered), this, &KNoteEdit::setFontFamily); #else - connect(m_textFont, &KFontAction::textTriggered), this, &KNoteEdit::setFontFamily); + connect(m_textFont, &KFontAction::textTriggered, this, &KNoteEdit::setFontFamily); #endif m_textSize = new KFontSizeAction(i18n("Text Size"), this); actions->addAction(QStringLiteral("format_size"), m_textSize);