CustomScriptPlugin::previewText: don't concatenate strings
Both formattingSample() and indentingSample() are used once. Combining them into one function defaultSample() (and one QStringLiteral) gets rid of runtime QString concatenation and thus improves performance.
parent
2d0f4551
Please register or sign in to comment