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

We depend against 5.64

parent 497c45cf
......@@ -31,7 +31,6 @@
*/
#include <config-kleopatra.h>
#include <kconfigwidgets_version.h>
#include "appearanceconfigpage.h"
#include "appearanceconfigwidget.h"
......@@ -50,11 +49,7 @@ AppearanceConfigurationPage::AppearanceConfigurationPage(QWidget *parent, const
mWidget = new AppearanceConfigWidget(this);
lay->addWidget(mWidget);
#if KCONFIGWIDGETS_VERSION < QT_VERSION_CHECK(5, 64, 0)
connect(mWidget, &AppearanceConfigWidget::changed, this, QOverload<>::of(&Kleo::Config::AppearanceConfigurationPage::changed));
#else
connect(mWidget, &AppearanceConfigWidget::changed, this, &Kleo::Config::AppearanceConfigurationPage::markAsChanged);
#endif
load();
}
......
......@@ -31,7 +31,6 @@
*/
#include <config-kleopatra.h>
#include <kconfigwidgets_version.h>
#include "cryptooperationsconfigpage.h"
......@@ -49,11 +48,7 @@ CryptoOperationsConfigurationPage::CryptoOperationsConfigurationPage(QWidget *pa
lay->setContentsMargins(0, 0, 0, 0);
mWidget = new CryptoOperationsConfigWidget(this);
lay->addWidget(mWidget);
#if KCONFIGWIDGETS_VERSION < QT_VERSION_CHECK(5, 64, 0)
connect(mWidget, &CryptoOperationsConfigWidget::changed, this, QOverload<>::of(&Kleo::Config::CryptoOperationsConfigurationPage::changed));
#else
connect(mWidget, &CryptoOperationsConfigWidget::changed, this, &Kleo::Config::CryptoOperationsConfigurationPage::markAsChanged);
#endif
load();
}
......
......@@ -31,7 +31,6 @@
*/
#include <config-kleopatra.h>
#include <kconfigwidgets_version.h>
#include "gnupgsystemconfigurationpage.h"
#include <libkleo/cryptoconfigmodule.h>
......@@ -56,11 +55,7 @@ GnuPGSystemConfigurationPage::GnuPGSystemConfigurationPage(QWidget *parent, cons
lay->addWidget(mWidget);
#if KCONFIGWIDGETS_VERSION < QT_VERSION_CHECK(5, 64, 0)
connect(mWidget, &CryptoConfigModule::changed, this, QOverload<>::of(&Kleo::Config::GnuPGSystemConfigurationPage::changed));
#else
connect(mWidget, &CryptoConfigModule::changed, this, &Kleo::Config::GnuPGSystemConfigurationPage::markAsChanged);
#endif
load();
}
......
......@@ -31,7 +31,6 @@
*/
#include <config-kleopatra.h>
#include <kconfigwidgets_version.h>
#include "smimevalidationconfigurationpage.h"
#include "smimevalidationconfigurationwidget.h"
......@@ -49,11 +48,7 @@ SMimeValidationConfigurationPage::SMimeValidationConfigurationPage(QWidget *pare
mWidget = new SMimeValidationConfigurationWidget(this);
lay->addWidget(mWidget);
#if KCONFIGWIDGETS_VERSION < QT_VERSION_CHECK(5, 64, 0)
connect(mWidget, &SMimeValidationConfigurationWidget::changed, this, QOverload<>::of(&Kleo::Config::SMimeValidationConfigurationPage::changed));
#else
connect(mWidget, &SMimeValidationConfigurationWidget::changed, this, &Kleo::Config::SMimeValidationConfigurationPage::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