diff options
author | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-06-01 14:42:21 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2015-06-02 21:55:54 +0000 |
commit | 6a86b8fa7802b49296e12a846524e0918a59b997 (patch) | |
tree | b843ff1f9f3c7e520a76d3255c9ec1fdafddd9e0 /src/corelib/doc/snippets/code/src_corelib_tools_qstringiterator.cpp | |
parent | f0a4d6463e5260a4fa46744b8c65877c9b5fae85 (diff) |
QTestLib: Move lastButton member into implementation
Keeping a static variable in an inline function is a bad idea because
each definition of that function will have its own version of the
variable. As qtestmouse.h can be included multiple times in the same
test (via some utility classes as with tst_qquickflickable), this
leads to confusion.
Change-Id: I80f198817c34c3a7e07bf6944189927817efb8a6
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/corelib/doc/snippets/code/src_corelib_tools_qstringiterator.cpp')
0 files changed, 0 insertions, 0 deletions