From 354eea82a2f99adc89f24cb2b0e981d7390ed7e3 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Mon, 8 Dec 2014 00:06:56 +0000 Subject: [PATCH] use new Phonon API in kaccess --- kcontrol/access/kaccess.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kcontrol/access/kaccess.cpp b/kcontrol/access/kaccess.cpp index 24beed3d..a73e497e 100644 --- a/kcontrol/access/kaccess.cpp +++ b/kcontrol/access/kaccess.cpp @@ -3,7 +3,7 @@ #include #include - +#include #include #include #include @@ -477,7 +477,7 @@ void KAccessApp::xkbBellNotify(XkbBellNotifyEvent *event) if (!_player) { // as creating the player is expensive, delay the creation _player = Phonon::createPlayer(Phonon::AccessibilityCategory); _player->setParent(this); - _player->setCurrentSource(_currentPlayerSource); + _player->setCurrentSource(QUrl::fromLocalFile(_currentPlayerSource)); } _player->play(); }