[EditAlarmPresenter] Remove duplicated method call. 88/108488/2
authorKamil Lipiszko <k.lipiszko@samsung.com>
Wed, 4 Jan 2017 12:51:51 +0000 (13:51 +0100)
committerLukasz Stanislawski <l.stanislaws@samsung.com>
Wed, 4 Jan 2017 13:00:08 +0000 (05:00 -0800)
Change-Id: I44715d8460aba6518b1cfd657985b3b69065fa08

clock/src/Presenter/EditAlarmPresenter.cpp

index 188cee1..b146b37 100644 (file)
@@ -174,7 +174,6 @@ void EditAlarmPresenter::SetAlarmProperties(Alarm &alarm, const EditAlarmView::A
        alarm.SetMelody(data.melody);
        alarm.SetWeekFlags(data.flags);
        alarm.SetVolume(data.volume);
-       alarm.SetMelody(data.melody);
 
        if (data.snooze)
                alarm.EnableSnooze();