diff options
| author | Christian Kandeler <christian.kandeler@digia.com> | 2012-10-25 14:27:32 +0200 |
|---|---|---|
| committer | Christian Kandeler <christian.kandeler@digia.com> | 2012-10-26 09:25:39 +0200 |
| commit | 4f3b487ade1c62cbb8ae6a7beef8a9d2b71ab110 (patch) | |
| tree | bf35d2872b476b5d8fa5337bccb6ce0368837525 /src/lib/buildgraph/buildgraph.h | |
| parent | 85c66316a03f1793afdd3291f82bd2c93732be5a (diff) | |
| download | qbs-4f3b487ade1c62cbb8ae6a7beef8a9d2b71ab110.tar.gz | |
Do not store the main project's qbs file path in the build graph.
There is no value in storing it, since we always get the top-level
project file as an input. Also, things currently break when renaming the
project file, because the loader will try to open the saved location
instead of the real one.
Change-Id: I3b09c84eb589c0ea0ea6c4634b9d6ba3643c96dd
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/lib/buildgraph/buildgraph.h')
| -rw-r--r-- | src/lib/buildgraph/buildgraph.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/buildgraph/buildgraph.h b/src/lib/buildgraph/buildgraph.h index 48b3cc05c..c4fd18ec1 100644 --- a/src/lib/buildgraph/buildgraph.h +++ b/src/lib/buildgraph/buildgraph.h @@ -103,7 +103,7 @@ public: bool discardLoadedProject; }; - static LoadResult load(BuildGraph *bg, + static LoadResult load(const QString &projectFilePath, BuildGraph *bg, const FileTime &minTimeStamp, const QVariantMap &cfg, const QStringList &loaderSearchPaths); @@ -124,7 +124,7 @@ public: void onProductRemoved(const BuildProduct::Ptr &product); private: - static void restoreBuildGraph(BuildGraph *buildGraph, + static void restoreBuildGraph(const QString &projectFilePath, BuildGraph *buildGraph, const FileTime &minTimeStamp, const QVariantMap &configuration, const QStringList &loaderSearchPaths, |
