diff options
| author | Marc Mutz <marc.mutz@kdab.com> | 2015-12-16 01:43:17 +0100 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@kdab.com> | 2015-12-17 16:47:48 +0000 |
| commit | 404b1fd8b351c5e23a283a21a621e35cdd24a6e4 (patch) | |
| tree | 6ae6225fa69bac4fcb654f461107593b51f709ed /src/network/kernel/qnetworkinterface_unix.cpp | |
| parent | 13e499893c0231953b647c0ac8718443a3c92098 (diff) | |
QFlickGestureRecognizer: remove a useless check
There's no point in checking isEmpty() to prevent a for loop from
executing, esp. if the checking involves copying the container
and calling an out-of-line function to get said copy.
Just fall through the for loop.
Change-Id: If6c689ff4bcd685bc645b4fb3f2c15ce5d5945af
Reviewed-by: Sérgio Martins <iamsergio@gmail.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Diffstat (limited to 'src/network/kernel/qnetworkinterface_unix.cpp')
0 files changed, 0 insertions, 0 deletions
