qt5base-lts/src/gui
Marc Mutz 1cc06b2e94 Don't use QStringLiteral in startsWith/endsWidth
For QLatin1String, startsWith/endsWith is overloaded, so comparing to
a latin-1 (C) string literal is efficient, since strlen() is
comparatively fast.

OTOH, QStringLiteral, when not using RVO, litters the code with
QString dtor calls, which are not inline. Worse, absent lambdas,
it even allocates memory.

So, just use QLatin1String instead.

Change-Id: I7eaf464c67b55116f970fe7f58a85f19ce4d254e
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2014-10-09 09:42:11 +02:00
..
accessible Make QAccessible compile with -Werror 2014-09-30 10:33:07 +02:00
animation Update license headers and add new license files 2014-09-24 12:26:19 +02:00
doc Doc: Use title case in section1 titles 2014-09-30 13:52:51 +02:00
image Merge remote-tracking branch 'origin/5.3' into 5.4 2014-09-29 13:38:11 +02:00
itemmodels Update license headers and add new license files 2014-09-24 12:26:19 +02:00
kernel Don't use QStringLiteral in startsWith/endsWidth 2014-10-09 09:42:11 +02:00
math3d Update license headers and add new license files 2014-09-24 12:26:19 +02:00
opengl Pass a sized format when creating multisampled renderbuffers on ES 2014-10-03 12:07:11 +02:00
painting Don't use QStringLiteral in startsWith/endsWidth 2014-10-09 09:42:11 +02:00
text QCss: mark many classes as movable 2014-10-08 13:58:40 +02:00
util Don't use QStringLiteral in comparisons 2014-10-09 09:42:00 +02:00
gui.pro deprecate import_qpa_plugin and qpa_minimal_plugin 2014-04-24 10:45:55 +02:00
Qt5GuiConfigExtras.cmake.in CMake: Don't check the existence of GL files in the Qt5Gui package. 2014-07-16 11:43:45 +02:00
QtGui.dynlist Add dynlist file for QtGui 2013-03-18 17:11:04 +01:00