summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qsettings_win.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2014-08-17 16:42:04 +0200
committerMarc Mutz <marc.mutz@kdab.com>2015-07-13 10:38:25 +0000
commited7f5375e115847cf8049bbed09c9ad06d510161 (patch)
treea19c6d519d9e55cefbe34f4820d4040c241feb63 /src/corelib/io/qsettings_win.cpp
parent35eb5c86785fb30eeb5555355062ce29f84d0e84 (diff)
QSslSocket: use function objects and algorithms when sorting library paths
The first change is to make libGreaterThan a function object. This allows all compilers to inline the comparison into the sort implementation. The second change is to use QString::splitRef instead of QString::split to extract the components. The third is to extract the element comparison into a function object and replace the rest of libGreaterThan with a suitable call to std::lexicographical_compare, rendering most code comments (present or missing) moot. Change-Id: I3a761d721aa7cf5fa727dcc4ddca4b922f413899 Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'src/corelib/io/qsettings_win.cpp')
0 files changed, 0 insertions, 0 deletions