1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-22 07:54:18 +01:00

Apply reformatting from lint.

This commit is contained in:
Daniel Perelman 2021-09-07 09:10:08 -07:00 committed by John Maguire
parent f548884f57
commit ab6a480131

View File

@ -85,10 +85,11 @@ void TrackSliderSlider::mouseMoveEvent(QMouseEvent* e) {
int slider_min = gr.x();
int slider_max = gr.right() - slider_length + 1;
mouse_hover_seconds_ = QStyle::sliderValueFromPosition(
minimum(), maximum(),
e->x() - slider_length / 2 - slider_min, slider_max - slider_min)
/ kMsecPerSec;
mouse_hover_seconds_ =
QStyle::sliderValueFromPosition(minimum(), maximum(),
e->x() - slider_length / 2 - slider_min,
slider_max - slider_min) /
kMsecPerSec;
popup_->SetText(Utilities::PrettyTime(mouse_hover_seconds_));
UpdateDeltaTime();