Skip to content

Commit

Permalink
services/tray: fix const lint in item
Browse files Browse the repository at this point in the history
  • Loading branch information
outfoxxed committed Nov 18, 2024
1 parent 0935841 commit 9ec6efc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/services/status_notifier/item.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion src/services/status_notifier/item.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class StatusNotifierItem: public QObject {
private slots:
void updateIcon();
void onGetAllFinished();
void onGetAllFailed();
void onGetAllFailed() const;
void onMenuPathChanged();

private:
Expand Down

0 comments on commit 9ec6efc

Please sign in to comment.