Commit d42da86c authored by Anton Kudryavtsev's avatar Anton Kudryavtsev
Browse files

OpenGL, PlatformSupport: use QStringRef to optimize memory allocation


Replace substring functions that return QString with
corresponding functions that return QStringRef where
it's possible.

Create QString from QStringRef only where necessary.

While touching the code, also port loops to C++11 style.

Change-Id: Ib94d29b6ecec1cdab2604d0277a743e8b340be5e
Reviewed-by: default avatarMarc Mutz <marc.mutz@kdab.com>
parent 5e387066
No related merge requests found
Showing with 15 additions and 13 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment