Skip to content
  • Alexander Lohnau's avatar
    Simplify and optimize some string usages · 83888412
    Alexander Lohnau authored and Albert Vaca Cintora's avatar Albert Vaca Cintora committed
    - Using QLatin1String when concatinating strings is faster, because they
      are more lightweight. For the resulting string, we need to allocate
      new memory anyway
    - Use QLatin1String overloads where they are provided by Qt APIs
    - Just use const char* for log messages, the quoting of QStrings is not
      needed
    - Make sure to reuse string results when possible
    83888412