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:
parent
f548884f57
commit
ab6a480131
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user