mirror of
https://git.outfoxxed.me/quickshell/quickshell.git
synced 2026-02-23 03:33:57 +11:00
all: fix lints
This commit is contained in:
parent
f78078dfaf
commit
1d94144976
15 changed files with 61 additions and 57 deletions
|
|
@ -183,7 +183,7 @@ void DBusMenuItem::updateProperties(const QVariantMap& properties, const QString
|
|||
}
|
||||
} else if (removed.isEmpty() || removed.contains("icon-data")) {
|
||||
imageChanged = this->image.hasData();
|
||||
image.data.clear();
|
||||
this->image.data.clear();
|
||||
}
|
||||
|
||||
auto type = properties.value("type");
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ class DBusMenuPngImage: public QsIndexedImageHandle {
|
|||
public:
|
||||
explicit DBusMenuPngImage(): QsIndexedImageHandle(QQuickImageProvider::Image) {}
|
||||
|
||||
[[nodiscard]] bool hasData() const { return !data.isEmpty(); }
|
||||
[[nodiscard]] bool hasData() const { return !this->data.isEmpty(); }
|
||||
QImage requestImage(const QString& id, QSize* size, const QSize& requestedSize) override;
|
||||
|
||||
QByteArray data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue