mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
quicksettings: Fix count property not being updated
Causes the ActionDrawer to have incorrect information when layouting.
This commit is contained in:
parent
bdcbe4d6f7
commit
389ba43b16
2 changed files with 5 additions and 1 deletions
|
|
@ -101,6 +101,7 @@ void QuickSettingsModel::loadQuickSettings()
|
|||
delete c;
|
||||
|
||||
endResetModel();
|
||||
Q_EMIT countChanged();
|
||||
}
|
||||
|
||||
void QuickSettingsModel::availabilityChanged()
|
||||
|
|
@ -122,4 +123,6 @@ void QuickSettingsModel::availabilityChanged()
|
|||
endRemoveRows();
|
||||
}
|
||||
}
|
||||
|
||||
Q_EMIT countChanged();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -33,7 +33,8 @@ public:
|
|||
void classBegin() override;
|
||||
void componentComplete() override;
|
||||
|
||||
Q_SIGNAL void countChanged();
|
||||
Q_SIGNALS:
|
||||
void countChanged();
|
||||
|
||||
private:
|
||||
void loadQuickSettings();
|
||||
|
|
|
|||
Loading…
Reference in a new issue