summaryrefslogtreecommitdiffstats
path: root/src/widgets/styles/qmacstyle_mac.mm
diff options
context:
space:
mode:
authorTom Hirst <tom.hirst@ipe-systems.co.uk>2014-10-10 17:02:17 +0100
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2014-10-12 10:45:50 +0200
commit1910454fe00cce8b815b1abc0a18a04d3d387ccf (patch)
tree823ae9cd861dafbb65437de6144ee66e3957cb5a /src/widgets/styles/qmacstyle_mac.mm
parent955c9562bdb07927069f281a8635ce20405051c3 (diff)
prevent if_nametoindex being called with empty string
Calling if_nametoindex with an empty string will always return 0, but on ARM linux platforms this call seems to be very expensive (~30ms), adding a large overhead to calls such as QUdpSocket::writeDatagram() Task-number: QTBUG-37092 Change-Id: Iad00867585d9534af1ddaee936dd4e4dc5e03611 Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/widgets/styles/qmacstyle_mac.mm')
0 files changed, 0 insertions, 0 deletions