Commit 0137d9f3 authored by Sébastien Blin's avatar Sébastien Blin Committed by Anthony Léonard

CallManager: remove uneeded argument for stopRecordedFilePlayback

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