TaskList: Make relative paths relative to the tasks file

... instead of relative to the project directory.

This is much more intuitive.

Change-Id: I2e8224fe998f7b762425a26970d5de85909a5d47
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2015-12-06 15:03:58 +02:00
committed by Orgad Shaneh
parent 6412cda77f
commit 90ab6e9b94
4 changed files with 16 additions and 45 deletions

View File

@@ -52,13 +52,12 @@ public:
bool initialize(const QStringList &arguments, QString *errorMessage);
void extensionsInitialized() {}
static bool loadFile(QString *errorString, const Utils::FileName &context,
const Utils::FileName &fileName);
static bool loadFile(QString *errorString, const Utils::FileName &fileName);
static void stopMonitoring();
static void clearTasks();
Core::IDocument *openTasks(const Utils::FileName &base, const Utils::FileName &fileName);
Core::IDocument *openTasks(const Utils::FileName &fileName);
public slots:
void loadDataFromSession();