mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
kdeui: clear pending changes from KNotificationConfigWidget::setNotification()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
2bee5fa7e2
commit
20c1130788
1 changed files with 1 additions and 0 deletions
|
@ -203,6 +203,7 @@ void KNotificationConfigWidget::save()
|
||||||
void KNotificationConfigWidget::setNotification(const QString ¬ification)
|
void KNotificationConfigWidget::setNotification(const QString ¬ification)
|
||||||
{
|
{
|
||||||
d->treewidget->clear();
|
d->treewidget->clear();
|
||||||
|
d->notificationchanges.clear();
|
||||||
|
|
||||||
const QString notifyconfig = KStandardDirs::locate("config", "notifications/" + notification + ".notifyrc");
|
const QString notifyconfig = KStandardDirs::locate("config", "notifications/" + notification + ".notifyrc");
|
||||||
if (notifyconfig.isEmpty()) {
|
if (notifyconfig.isEmpty()) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue