Make build with older versions of knotifications

The current version with LoopSound isn't available yet.
This commit is contained in:
Boudewijn Rempt 2015-05-13 11:34:44 +00:00
parent 13a03469de
commit dd568f8896

View file

@ -79,7 +79,7 @@ void DialerUtils::resetMissedCalls()
void DialerUtils::notifyRinging()
{
if (!m_ringingNotification) {
m_ringingNotification = new KNotification("ringing", KNotification::Persistent|KNotification::LoopSound, 0);
m_ringingNotification = new KNotification("ringing", KNotification::Persistent, 0);
m_ringingNotification->setComponentName("plasma_dialer");
}
m_ringingNotification->sendEvent();