Commit 4a77ecc3 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Merge branch '5.3'

parents 1eaf0a2e 36616a1a
......@@ -6,6 +6,7 @@ Icon=kdevelop
X-DocPath=kdevelop/index.html
Actions=OpenSession;
Terminal=false
StartupWMClass=kdevelop
Name=KDevelop
Name[ca]=KDevelop
Name[ca@valencia]=KDevelop
......
......@@ -344,6 +344,9 @@ static void populateTargets(ProjectFolderItem* folder, const QHash<KDevelop::Pat
if (idx < 0) {
delete item;
} else {
auto cmakeItem = dynamic_cast<CMakeTargetItem*>(item);
if (cmakeItem)
cmakeItem->setBuiltUrl(dirTargets[idx].artifacts.value(0));
dirTargets.removeAt(idx);
}
}
......
......@@ -33,6 +33,7 @@ class CMakeTargetItem : public KDevelop::ProjectExecutableTargetItem
public:
CMakeTargetItem(KDevelop::ProjectFolderItem* parent, const QString& name, const KDevelop::Path &builtUrl);
void setBuiltUrl(const KDevelop::Path &builtUrl) { m_builtUrl = builtUrl; }
QUrl builtUrl() const override;
QUrl installedUrl() const override;
......
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