diff --git a/plugins/telephony/telephonyplugin.cpp b/plugins/telephony/telephonyplugin.cpp index 5c49c282c..ba4cad098 100644 --- a/plugins/telephony/telephonyplugin.cpp +++ b/plugins/telephony/telephonyplugin.cpp @@ -37,10 +37,6 @@ TelephonyPlugin::TelephonyPlugin(QObject* parent, const QVariantList& args) { } -TelephonyPlugin::~TelephonyPlugin() -{ -} - KNotification* TelephonyPlugin::createNotification(const NetworkPacket& np) { const QString event = np.get(QStringLiteral("event")); diff --git a/plugins/telephony/telephonyplugin.h b/plugins/telephony/telephonyplugin.h index 7f5cd2dc8..e03aecc0f 100644 --- a/plugins/telephony/telephonyplugin.h +++ b/plugins/telephony/telephonyplugin.h @@ -55,7 +55,7 @@ class TelephonyPlugin public: explicit TelephonyPlugin(QObject* parent, const QVariantList& args); - ~TelephonyPlugin() override; + ~TelephonyPlugin() = default; bool receivePacket(const NetworkPacket& np) override; void connected() override {}