Commit b9accfdc authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Now we depend against 5.64

parent 829b58d2
......@@ -30,7 +30,6 @@
#include "config/notenetworkconfig.h"
#include "print/knoteprintselectthemecombobox.h"
#include <kconfigwidgets_version.h>
#include <KAuthorized>
#include <KIconLoader>
#include <KLocalizedString>
......@@ -211,11 +210,7 @@ KNoteMiscConfig::KNoteMiscConfig(QWidget *parent)
howItWorks->setContextMenuPolicy(Qt::NoContextMenu);
lay->addStretch();
load();
#if KCONFIGWIDGETS_VERSION < QT_VERSION_CHECK(5, 64, 0)
connect(mDefaultTitle, &QLineEdit::textChanged, this, qOverload<>(&KNoteMiscConfig::changed));
#else
connect(mDefaultTitle, &QLineEdit::textChanged, this, &KNoteMiscConfig::markAsChanged);
#endif
}
void KNoteMiscConfig::load()
......@@ -322,11 +317,7 @@ KNoteCollectionConfig::KNoteCollectionConfig(QWidget *parent)
QHBoxLayout *lay = new QHBoxLayout(this);
mCollectionConfigWidget = new KNoteCollectionConfigWidget;
lay->addWidget(mCollectionConfigWidget);
#if KCONFIGWIDGETS_VERSION < QT_VERSION_CHECK(5, 64, 0)
connect(mCollectionConfigWidget, &KNoteCollectionConfigWidget::emitChanged, this, qOverload<>(&KNoteCollectionConfig::changed));
#else
connect(mCollectionConfigWidget, &KNoteCollectionConfigWidget::emitChanged, this, &KNoteCollectionConfig::markAsChanged);
#endif
load();
}
......
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