From 7042b551fdb66e2a933a3e2d9ff2b09c54155039 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Wed, 8 Dec 2021 19:10:00 +0100 Subject: [PATCH] Theme: Fully qualify parameters to invokable functions Otherwise we cannot see the types at compile time. Fixes some clazy warnings. Change-Id: I69fa897b52162f74ba4044933de9d08c7563aebb Reviewed-by: Eike Ziller --- src/libs/utils/theme/theme.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/utils/theme/theme.h b/src/libs/utils/theme/theme.h index 3f3249d71ea..711fbdd6426 100644 --- a/src/libs/utils/theme/theme.h +++ b/src/libs/utils/theme/theme.h @@ -467,8 +467,8 @@ public: Q_ENUM(Gradient) Q_ENUM(Flag) - Q_INVOKABLE bool flag(Flag f) const; - Q_INVOKABLE QColor color(Color role) const; + Q_INVOKABLE bool flag(Utils::Theme::Flag f) const; + Q_INVOKABLE QColor color(Utils::Theme::Color role) const; QString imageFile(ImageFile imageFile, const QString &fallBack) const; QGradientStops gradient(Gradient role) const; QPalette palette() const;