mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kdeui: delay the automatic deletion of non-persistent notifications by 500ms
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
856b853b89
commit
288d07c31d
1 changed files with 1 additions and 1 deletions
|
@ -362,7 +362,7 @@ void KNotification::send()
|
|||
const bool persistent = (flags() & KNotification::Persistent);
|
||||
kNotificationManager->send(this, persistent);
|
||||
if (!persistent) {
|
||||
close();
|
||||
QTimer::singleShot(500, this, SLOT(close()));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue