mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 10:52:49 +00:00
kdeui: remove unused variable in KNotificationConfigWidget::setNotification()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
4285a34acf
commit
d3133731f5
1 changed files with 0 additions and 1 deletions
|
@ -142,7 +142,6 @@ void KNotificationConfigWidget::setNotification(const QString ¬ification)
|
||||||
KConfig notificationconfig("knotificationrc", KConfig::NoGlobals);
|
KConfig notificationconfig("knotificationrc", KConfig::NoGlobals);
|
||||||
notificationconfig.addConfigSources(QStringList() << notifyconfig);
|
notificationconfig.addConfigSources(QStringList() << notifyconfig);
|
||||||
KConfigGroup globalgroupconfig(¬ificationconfig, notification);
|
KConfigGroup globalgroupconfig(¬ificationconfig, notification);
|
||||||
KIcon soundicon = KIcon("media-playback-start");
|
|
||||||
foreach (const QString &eventgroup, notificationconfig.groupList()) {
|
foreach (const QString &eventgroup, notificationconfig.groupList()) {
|
||||||
if (!eventgroup.startsWith(notification + QLatin1Char('/'))) {
|
if (!eventgroup.startsWith(notification + QLatin1Char('/'))) {
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Add table
Reference in a new issue