diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-08-21 17:22:03 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-08-23 01:18:13 +0200 |
commit | 6ece7dd09ac8897b70b062507d2bff69e5e4115a (patch) | |
tree | 1677ce41d18d51554e897626abc16526adef19a9 /tests/auto/tools/moc/no-keywords.h | |
parent | 2e7f11246e8b5bd0952c3b498da04ae4fc14f264 (diff) |
Fix warnings in tst_moc
Change-Id: I4cbc851e59febdc533c02fb4b95d2924348086b4
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/auto/tools/moc/no-keywords.h')
-rw-r--r-- | tests/auto/tools/moc/no-keywords.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/tools/moc/no-keywords.h b/tests/auto/tools/moc/no-keywords.h index ca77056503..cb0bca7a19 100644 --- a/tests/auto/tools/moc/no-keywords.h +++ b/tests/auto/tools/moc/no-keywords.h @@ -69,8 +69,8 @@ public Q_SLOTS: inline void mySlot() { mySignal(); } private: - int signals; - double slots; + Q_DECL_UNUSED_MEMBER int signals; + Q_DECL_UNUSED_MEMBER double slots; }; #define signals Q_SIGNALS |