提交 adb4c40f 编写于 作者: C Clayton Groeneveld

UI: Remove duplicate media timer code

This removes duplicate code that is already in the
start/stop timer functions.
上级 af090573
......@@ -120,7 +120,7 @@ void MediaControls::MediaSliderClicked()
} else if (state == OBS_MEDIA_STATE_PLAYING) {
prevPaused = false;
PauseMedia();
mediaTimer.stop();
StopMediaTimer();
}
seek = ui->slider->value();
......@@ -145,7 +145,7 @@ void MediaControls::MediaSliderReleased()
if (!prevPaused) {
PlayMedia();
mediaTimer.start(1000);
StartMediaTimer();
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册