summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestmouse.cpp
Commit message (Collapse)AuthorAgeFilesLines
* QTestLib: Move lastButton member into implementationUlf Hermann2015-06-021-0/+47
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>