Remove parent from KNotification ctor
It doesn't do anything useful and is discouraged
This commit is contained in:
parent
9ab80593e8
commit
bbce00e005
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ void TelephonyPlugin::createNotification(const NetworkPacket& np)
|
||||||
qCDebug(KDECONNECT_PLUGIN_TELEPHONY) << "Creating notification with type:" << type;
|
qCDebug(KDECONNECT_PLUGIN_TELEPHONY) << "Creating notification with type:" << type;
|
||||||
|
|
||||||
if (!m_currentCallNotification) {
|
if (!m_currentCallNotification) {
|
||||||
m_currentCallNotification = new KNotification(type, KNotification::Persistent, this);
|
m_currentCallNotification = new KNotification(type, KNotification::Persistent);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!phoneThumbnail.isEmpty()) {
|
if (!phoneThumbnail.isEmpty()) {
|
||||||
|
|
Loading…
Reference in a new issue