summaryrefslogtreecommitdiffstats
path: root/examples/vulkan/hellovulkancubes/color.frag
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2017-03-10 11:06:01 +0100
committerMarc Mutz <marc.mutz@kdab.com>2017-03-29 04:30:44 +0000
commit9349ec29212a2dc36aa2460626851a16820a41b6 (patch)
tree154095216f026a5024611b68baa9cf3a6baed6f8 /examples/vulkan/hellovulkancubes/color.frag
parent8c779f97605d667e85944898252b24e6bc00f54a (diff)
Long live qCompareStrings()!
These free functions are designed to solve the problem that we currently have QString::compare(QString, QString), but we have no QString::compare(QStringRef, QString), even though we have QString::compare(QStringRef). A compare(QString, QStringRef) only exists in QStringRef. This makes writing generic code tedious and error prone. Notably absent are comparisons involving char* and QByteArray. These will be added when we add QUtf8String, the UTF-8 counterpart to QLatin1String. Change-Id: I2dd7c4b1a1e0883ef0091396ee8c190012f4efba Reviewed-by: Anton Kudryavtsev <antkudr@mail.ru> Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'examples/vulkan/hellovulkancubes/color.frag')
0 files changed, 0 insertions, 0 deletions