services/tray: fix const lint in item

This commit is contained in:
outfoxxed 2024-11-17 17:06:06 -08:00
parent fdc13023b7
commit 36174854ad
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
2 changed files with 2 additions and 2 deletions

View file

@ -248,7 +248,7 @@ void StatusNotifierItem::onGetAllFinished() {
emit this->ready();
}
void StatusNotifierItem::onGetAllFailed() {
void StatusNotifierItem::onGetAllFailed() const {
// Not changing the item to ready, as it is almost definitely broken.
if (!this->mReady) {
qWarning(logStatusNotifierItem) << "Failed to load tray item" << this->properties.toString();

View file

@ -75,7 +75,7 @@ signals:
private slots:
void updateIcon();
void onGetAllFinished();
void onGetAllFailed();
void onGetAllFailed() const;
void onMenuPathChanged();
private: