Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

plugins/cmake: QString::remove operates on same object, no need to reassign

parent bb8f7273
......@@ -108,7 +108,7 @@ QString CMakeCommandsContents::descriptionForIdentifier(const QString& id, CMake
QString desc;
if(args[t].size() != 0) {
desc = CMake::executeProcess(CMakeBuilderSettings::self()->cmakeExecutable().toLocalFile(), { args[t], id.simplified() });
desc = desc.remove(QStringLiteral(":ref:"));
const QString rst2html = QStandardPaths::findExecutable(QStringLiteral("rst2html"));
if (rst2html.isEmpty()) {
Markdown is supported
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