Remove parent from KNotification ctor

It doesn't do anything useful and is discouraged
This commit is contained in:
Nicolas Fella 2020-11-02 19:01:30 +01:00
parent 9ab80593e8
commit bbce00e005

View file

@ -51,7 +51,7 @@ void TelephonyPlugin::createNotification(const NetworkPacket& np)
qCDebug(KDECONNECT_PLUGIN_TELEPHONY) << "Creating notification with type:" << type;
if (!m_currentCallNotification) {
m_currentCallNotification = new KNotification(type, KNotification::Persistent, this);
m_currentCallNotification = new KNotification(type, KNotification::Persistent);
}
if (!phoneThumbnail.isEmpty()) {