Skip to content

Commit 3617485

Browse files
committed
services/tray: fix const lint in item
1 parent fdc1302 commit 3617485

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/services/status_notifier/item.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ void StatusNotifierItem::onGetAllFinished() {
248248
emit this->ready();
249249
}
250250

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

src/services/status_notifier/item.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class StatusNotifierItem: public QObject {
7575
private slots:
7676
void updateIcon();
7777
void onGetAllFinished();
78-
void onGetAllFailed();
78+
void onGetAllFailed() const;
7979
void onMenuPathChanged();
8080

8181
private:

0 commit comments

Comments
 (0)