Commit 5d964ed8 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Port away from deprecated KSelectAction::triggered(QString)

parent 2a9a8daf
......@@ -56,7 +56,11 @@ void kpMainWindow::setupTextToolBarActions ()
d->actionTextFontFamily = ac->add<KFontAction> (QStringLiteral("text_font_family"));
d->actionTextFontFamily->setText (i18n ("Font Family"));
connect (d->actionTextFontFamily,
#if KWIDGETSADDONS_VERSION >= QT_VERSION_CHECK(5, 78, 0)
&KSelectAction::textTriggered,
#else
static_cast<void (KFontAction::*)(const QString&)>(&KFontAction::triggered),
#endif
this, &kpMainWindow::slotTextFontFamilyChanged);
d->actionTextFontSize = ac->add<KFontSizeAction> (QStringLiteral("text_font_size"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment