diff --git a/core/kdeconnectplugin.cpp b/core/kdeconnectplugin.cpp index 652e5f714..279c408c3 100644 --- a/core/kdeconnectplugin.cpp +++ b/core/kdeconnectplugin.cpp @@ -40,9 +40,7 @@ KdeConnectPluginConfig *KdeConnectPlugin::config() const KdeConnectPlugin::~KdeConnectPlugin() { - if (d->m_config) { - delete d->m_config; - } + delete d->m_config; } const Device *KdeConnectPlugin::device()