Skip to content

kateprojectindex: Fix broken QStringLiteral argument parsing

Akseli Lahtinen requested to merge work/akselmo/fix-indexer-filename-string into master

For some reason the arguments in this string were parsed into a lot of empty space. This QStringLiteral arguments were being parsed wrong: ApplicationPid returns a numerical type, that Qstring.arg uses for fieldwidth parameter. Thus we have to wrap the numeric type inside QString::number to make sure its handled as a string.

Edited by Akseli Lahtinen

Merge request reports

Loading