only a minute before real deletion

Change-Id: Ibc90aae44e7013453c8a96a3f22522806cb12ef2
This commit is contained in:
Marco Martin 2014-10-28 17:53:50 +01:00
parent 099a22d9da
commit d44d194db6

View File

@ -263,8 +263,8 @@ void AppletPrivate::askDestroy()
deleteNotification->sendEvent();
if (!deleteNotificationTimer) {
deleteNotificationTimer = new QTimer(q);
//really delete after 2 minutes
deleteNotificationTimer->setInterval(2 * 60 * 1000);
//really delete after a minute
deleteNotificationTimer->setInterval(60 * 1000);
deleteNotificationTimer->setSingleShot(true);
QObject::connect(deleteNotificationTimer, &QTimer::timeout,
[=]() {