summaryrefslogtreecommitdiffstats
path: root/src/widgets/styles/qwindowsstyle.cpp
diff options
context:
space:
mode:
authorAnton Kudryavtsev <anton.kudryavtsev@corp.mail.ru>2018-01-30 19:57:28 +0300
committerAnton Kudryavtsev <antkudr@mail.ru>2018-02-02 11:08:11 +0000
commitcdebc1a138eb4e4272b0b96e6bfce4fd66851ce1 (patch)
tree0b7d40584b3935955034e26dc5bd40f5ea228ca7 /src/widgets/styles/qwindowsstyle.cpp
parente8bf3a2ce7fcc153fbb9732b02b51167c5c4aaf5 (diff)
QString: optimize remove()
In remove(const QString &str, Qt::CaseSensitivity cs) call remove(QChar c, Qt::CaseSensitivity cs) if str.size() is equal 1. It prevents quadratic behavior for that case. Change-Id: I9a7ab3019c580343533c8c6c6a04b6b0c8c1fb55 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/widgets/styles/qwindowsstyle.cpp')
0 files changed, 0 insertions, 0 deletions