qt6-bb10/src/tools
Marc Mutz a776e4cf78 uic: don't use QStringLiteral in comparisons
(this is committing the new output of generate_ui from qttools)

For QLatin1String, operator== is overloaded, even for QStringRef,
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 compare using QLatin1String instead.

Change-Id: I5035d259085c21689ab0f62fd49819ab5223ffe8
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2015-02-02 16:43:07 +00:00
..
bootstrap Implement Download folder path retrieval on OS X 2014-11-24 00:33:20 +01:00
bootstrap-dbus Improve dbus cross compilation 2014-07-28 14:08:22 +02:00
moc moc: use Q_NULLPTR instead of 0 in generated code. 2014-11-06 02:58:56 +01:00
qdbuscpp2xml Bump copyright year to 2015 2015-01-15 09:24:51 +01:00
qdbusxml2cpp Bump copyright year to 2015 2015-01-15 09:24:51 +01:00
qdoc Merge remote-tracking branch 'origin/5.4.1' into 5.4 2015-01-29 10:05:01 +01:00
qlalr Bump copyright year to 2015 2015-01-15 09:24:51 +01:00
rcc Merge remote-tracking branch 'origin/5.4.1' into 5.4 2015-01-29 10:05:01 +01:00
uic uic: don't use QStringLiteral in comparisons 2015-02-02 16:43:07 +00:00