don't delete a qscoped pointer
This commit is contained in:
parent
b0a4297f01
commit
5fd7254212
|
@ -68,10 +68,6 @@ Snore::NotificationData::NotificationData(const Notification &old, const QString
|
||||||
|
|
||||||
NotificationData::~NotificationData()
|
NotificationData::~NotificationData()
|
||||||
{
|
{
|
||||||
if(!m_timeoutTimer.isNull())
|
|
||||||
{
|
|
||||||
m_timeoutTimer->deleteLater();
|
|
||||||
}
|
|
||||||
notificationCount--;
|
notificationCount--;
|
||||||
snoreDebug( SNORE_DEBUG ) << "Deleting Notification: ActiveNotifications" << notificationCount << "id" << m_id << "Close Reason:" << m_closeReason;
|
snoreDebug( SNORE_DEBUG ) << "Deleting Notification: ActiveNotifications" << notificationCount << "id" << m_id << "Close Reason:" << m_closeReason;
|
||||||
}
|
}
|
||||||
|
|
|
@ -95,6 +95,7 @@ void SnoreCorePrivate::slotAboutToQuit()
|
||||||
{
|
{
|
||||||
if(p->isLoaded())
|
if(p->isLoaded())
|
||||||
{
|
{
|
||||||
|
snoreDebug( SNORE_DEBUG ) << "deinitialize" << p->name();
|
||||||
p->load()->deinitialize();
|
p->load()->deinitialize();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue