diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2017-05-16 11:23:01 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2017-05-17 16:16:02 +0000 |
commit | 19296bc7b0a92690e7b96d35168a6e03ab4ccdda (patch) | |
tree | 26e1e5bbc9ca4b4f8acf2c9c975c0fbe33320b11 /tests | |
parent | 07fd674740b4f80c45c84ad88659f0c4889943e5 (diff) |
Add Q_FALLTHROUGH to QtDBus tests
There was only one place that needed it.
Change-Id: I067fcfe299b34ab6a771fffd14bf2945f1953d10
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/dbus/qdbusabstractadaptor/myobject.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/auto/dbus/qdbusabstractadaptor/myobject.h b/tests/auto/dbus/qdbusabstractadaptor/myobject.h index 1d9b33ccd8..fe3f6f3dd2 100644 --- a/tests/auto/dbus/qdbusabstractadaptor/myobject.h +++ b/tests/auto/dbus/qdbusabstractadaptor/myobject.h @@ -242,10 +242,13 @@ public: { case 4: if4 = new Interface4(this); + Q_FALLTHROUGH(); case 3: if3 = new Interface3(this); + Q_FALLTHROUGH(); case 2: if2 = new Interface2(this); + Q_FALLTHROUGH(); case 1: if1 = new Interface1(this); } @@ -270,4 +273,4 @@ signals: void nonScriptableSignalVoid(); }; -#endif // MYOBJECT_H
\ No newline at end of file +#endif // MYOBJECT_H |