Commit 995a58b8 authored by Laurent Montel's avatar Laurent Montel 😁

GIT_SILENT: Time to increase version

parent f6cf0103
Pipeline #47084 skipped
......@@ -4,7 +4,7 @@ project(knotes VERSION ${PIM_VERSION})
set(RELEASE_SERVICE_VERSION "21.03.80")
set(KF5_MIN_VERSION "5.77.0")
set(KF5_MIN_VERSION "5.78.0")
find_package(ECM ${KF5_MIN_VERSION} CONFIG REQUIRED)
set(CMAKE_MODULE_PATH ${knotes_SOURCE_DIR}/cmake/modules ${ECM_MODULE_PATH})
......
......@@ -19,7 +19,6 @@
#include <KFontSizeAction>
#include <KLocalizedString>
#include <KToggleAction>
#include <kwidgetsaddons_version.h>
#include <QColorDialog>
#include <QIcon>
......@@ -135,11 +134,7 @@ KNoteEdit::KNoteEdit(KActionCollection *actions, QWidget *parent)
m_textFont = new KFontAction(i18n("Text Font"), this);
actions->addAction(QStringLiteral("format_font"), m_textFont);
#if KWIDGETSADDONS_VERSION < QT_VERSION_CHECK(5, 78, 0)
connect(m_textFont, qOverload<const QString &>(&KFontAction::triggered), this, &KNoteEdit::setFontFamily);
#else
connect(m_textFont, &KFontAction::textTriggered, this, &KNoteEdit::setFontFamily);
#endif
m_textSize = new KFontSizeAction(i18n("Text Size"), this);
actions->addAction(QStringLiteral("format_size"), m_textSize);
connect(m_textSize, &KFontSizeAction::fontSizeChanged, this, &KNoteEdit::setTextFontSize);
......
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