Skip to content
Snippets Groups Projects
Commit 0137d9f3 authored by Sébastien Blin's avatar Sébastien Blin Committed by Anthony Léonard
Browse files

CallManager: remove uneeded argument for stopRecordedFilePlayback


Change-Id: I63195f6c423ee317fad822978c9f24ebf7c6de8e
Reviewed-by: default avatarAnthony Léonard <anthony.leonard@savoirfairelinux.com>
parent 5463a4ed
No related branches found
No related tags found
No related merge requests found
...@@ -189,7 +189,7 @@ void Media::AVRecording::play() ...@@ -189,7 +189,7 @@ void Media::AVRecording::play()
void Media::AVRecording::stop() void Media::AVRecording::stop()
{ {
CallManagerInterface& callManager = CallManager::instance(); CallManagerInterface& callManager = CallManager::instance();
Q_NOREPLY callManager.stopRecordedFilePlayback(path().path()); Q_NOREPLY callManager.stopRecordedFilePlayback();
emit stopped(); emit stopped();
RecordingPlaybackManager::instance().desactivateRecording(this); RecordingPlaybackManager::instance().desactivateRecording(this);
......
...@@ -327,9 +327,9 @@ public Q_SLOTS: // METHODS ...@@ -327,9 +327,9 @@ public Q_SLOTS: // METHODS
DRing::startTone(start, type); DRing::startTone(start, type);
} }
void stopRecordedFilePlayback(const QString &filepath) void stopRecordedFilePlayback()
{ {
DRing::stopRecordedFilePlayback(filepath.toStdString()); DRing::stopRecordedFilePlayback();
} }
bool toggleRecording(const QString &callID) bool toggleRecording(const QString &callID)
......
...@@ -240,7 +240,7 @@ void RingtoneModelPrivate::slotStopTimer() ...@@ -240,7 +240,7 @@ void RingtoneModelPrivate::slotStopTimer()
{ {
if (m_pCurrent) { if (m_pCurrent) {
CallManagerInterface& callManager = CallManager::instance(); CallManagerInterface& callManager = CallManager::instance();
callManager.stopRecordedFilePlayback(m_pCurrent->path()); callManager.stopRecordedFilePlayback();
m_isPlaying = false; m_isPlaying = false;
const QModelIndex& idx = q_ptr->index(m_lRingtone.indexOf(m_pCurrent),0); const QModelIndex& idx = q_ptr->index(m_lRingtone.indexOf(m_pCurrent),0);
emit q_ptr->dataChanged(idx,q_ptr->index(idx.row(),1)); emit q_ptr->dataChanged(idx,q_ptr->index(idx.row(),1));
......
...@@ -240,10 +240,8 @@ public Q_SLOTS: // METHODS ...@@ -240,10 +240,8 @@ public Q_SLOTS: // METHODS
Q_UNUSED(type) Q_UNUSED(type)
} }
void stopRecordedFilePlayback(const QString &filepath) void stopRecordedFilePlayback()
{ { }
Q_UNUSED(filepath)
}
bool toggleRecording(const QString &callID) bool toggleRecording(const QString &callID)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment