forked from quickshell/quickshell
services/tray: fix const lint in item
This commit is contained in:
parent
fdc13023b7
commit
36174854ad
2 changed files with 2 additions and 2 deletions
|
@ -248,7 +248,7 @@ void StatusNotifierItem::onGetAllFinished() {
|
||||||
emit this->ready();
|
emit this->ready();
|
||||||
}
|
}
|
||||||
|
|
||||||
void StatusNotifierItem::onGetAllFailed() {
|
void StatusNotifierItem::onGetAllFailed() const {
|
||||||
// Not changing the item to ready, as it is almost definitely broken.
|
// Not changing the item to ready, as it is almost definitely broken.
|
||||||
if (!this->mReady) {
|
if (!this->mReady) {
|
||||||
qWarning(logStatusNotifierItem) << "Failed to load tray item" << this->properties.toString();
|
qWarning(logStatusNotifierItem) << "Failed to load tray item" << this->properties.toString();
|
||||||
|
|
|
@ -75,7 +75,7 @@ signals:
|
||||||
private slots:
|
private slots:
|
||||||
void updateIcon();
|
void updateIcon();
|
||||||
void onGetAllFinished();
|
void onGetAllFinished();
|
||||||
void onGetAllFailed();
|
void onGetAllFailed() const;
|
||||||
void onMenuPathChanged();
|
void onMenuPathChanged();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue