mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-02-02 10:36:45 +01:00
Formatting
This commit is contained in:
parent
7ea60ed178
commit
83b54f2ae6
@ -200,7 +200,7 @@ void BlockAnalyzer::analyze(QPainter &p, const Analyzer::Scope &s, bool new_fram
|
||||
|
||||
}
|
||||
|
||||
static inline void adjustToLimits(int &b, int &f, int &amount) {
|
||||
static inline void adjustToLimits(const int &b, int &f, int &amount) {
|
||||
|
||||
// with a range of 0-255 and maximum adjustment of amount, maximise the difference between f and b
|
||||
|
||||
|
@ -374,7 +374,7 @@ void CollectionFilterWidget::GroupingChanged(const CollectionModel::Grouping g)
|
||||
|
||||
}
|
||||
|
||||
void CollectionFilterWidget::CheckCurrentGrouping(CollectionModel::Grouping g) {
|
||||
void CollectionFilterWidget::CheckCurrentGrouping(const CollectionModel::Grouping g) {
|
||||
|
||||
for (QAction *action : group_by_group_->actions()) {
|
||||
if (action->property("group_by").isNull()) continue;
|
||||
|
@ -105,7 +105,7 @@ class CollectionFilterWidget : public QWidget {
|
||||
|
||||
private:
|
||||
static QAction *CreateGroupByAction(const QString &text, QObject *parent, const CollectionModel::Grouping grouping);
|
||||
void CheckCurrentGrouping(CollectionModel::Grouping g);
|
||||
void CheckCurrentGrouping(const CollectionModel::Grouping g);
|
||||
|
||||
private:
|
||||
Ui_CollectionFilterWidget *ui_;
|
||||
|
Loading…
x
Reference in New Issue
Block a user