mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-01 09:18:07 +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;
|
delete c;
|
||||||
|
|
||||||
endResetModel();
|
endResetModel();
|
||||||
|
Q_EMIT countChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
void QuickSettingsModel::availabilityChanged()
|
void QuickSettingsModel::availabilityChanged()
|
||||||
|
|
@ -122,4 +123,6 @@ void QuickSettingsModel::availabilityChanged()
|
||||||
endRemoveRows();
|
endRemoveRows();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Q_EMIT countChanged();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,8 @@ public:
|
||||||
void classBegin() override;
|
void classBegin() override;
|
||||||
void componentComplete() override;
|
void componentComplete() override;
|
||||||
|
|
||||||
Q_SIGNAL void countChanged();
|
Q_SIGNALS:
|
||||||
|
void countChanged();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void loadQuickSettings();
|
void loadQuickSettings();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue