summaryrefslogtreecommitdiffstats
path: root/src/network/kernel/qnetworkinterface_unix.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2015-12-16 01:43:17 +0100
committerMarc Mutz <marc.mutz@kdab.com>2015-12-17 16:47:48 +0000
commit404b1fd8b351c5e23a283a21a621e35cdd24a6e4 (patch)
tree6ae6225fa69bac4fcb654f461107593b51f709ed /src/network/kernel/qnetworkinterface_unix.cpp
parent13e499893c0231953b647c0ac8718443a3c92098 (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