mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
kdeui: use the default player ID for KNotification sounds
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
11f6e4b586
commit
5d5087023c
1 changed files with 2 additions and 4 deletions
|
@ -183,10 +183,8 @@ void KNotificationManager::send(KNotification *notification, const bool persiste
|
|||
QDBusConnection::sessionBus(), this
|
||||
);
|
||||
}
|
||||
// TODO: configurable player
|
||||
QDBusReply<void> playreply = m_kaudioplayeriface->call(
|
||||
QString::fromLatin1("play"), eventsoundfile, QString::fromLatin1("knotification")
|
||||
);
|
||||
// the sound player is configurable and is used by the bball plasma applet for example
|
||||
QDBusReply<void> playreply = m_kaudioplayeriface->call(QString::fromLatin1("play"), eventsoundfile);
|
||||
if (!playreply.isValid()) {
|
||||
kWarning(s_knotificationarea) << "invalid play reply" << playreply.error().message();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue