Nicer spacing in activity indicator's setGeometry call

Co-authored-by: Kevin Zander <veratil@gmail.com>
This commit is contained in:
Spekular
2020-05-01 12:27:41 +02:00
committed by GitHub
parent aaf94ef69d
commit 0c180b8dc5

View File

@@ -840,7 +840,7 @@ SampleTrackView::SampleTrackView( SampleTrack * _t, TrackContainerView* tcv ) :
QApplication::palette().color(QPalette::Active, QPalette::BrightText).darker(),
getTrackSettingsWidget()
);
m_activityIndicator->setGeometry(settingsWidgetWidth-2*24-11, 2, 8, 28);
m_activityIndicator->setGeometry(settingsWidgetWidth - 2 * 24 - 11, 2, 8, 28);
m_activityIndicator->show();
connect(_t, SIGNAL(playingChanged()), this, SLOT(updateIndicator()));
connect(Engine::getSong(), SIGNAL(stopped()),