Commit 29ab65b3 authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

fix the evaluation of hard coded list: [filename, ...] projects

parent 77a61d2a
......@@ -292,6 +292,15 @@ QStringList KateProjectWorker::findFiles(const QDir &dir, const QVariantMap &fil
QStringList userGivenFilesList = filesEntry[QStringLiteral("list")].toStringList();
if (!userGivenFilesList.empty()) {
* make the files absolute relative to current dir
* all code later requires this and the filesFrom... routines do this, too, internally
* even without this, the tree views will show them, but opening them will create new elements!
for (auto &file : userGivenFilesList) {
file = dir.absoluteFilePath(file);
* users might have specified duplicates, this can't happen for the other ways
Supports Markdown
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