From 0f0d90485e591eb74e3f5b773e849aadba480088 Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Mon, 26 May 2014 10:44:18 +0200 Subject: Add the settings directory to the project setup parameters. This way, the settings become available for use in the qbs library, which means it can, for instance, expand the build configuration itself instead of putting this burden onto the API callers. Change-Id: I09e6067990ac2b7c2238951f9759fe52dc51b6f9 Reviewed-by: Joerg Bornemann --- src/lib/corelib/tools/settings.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib/corelib/tools/settings.h') diff --git a/src/lib/corelib/tools/settings.h b/src/lib/corelib/tools/settings.h index 9741c2bf0..622ed5b5f 100644 --- a/src/lib/corelib/tools/settings.h +++ b/src/lib/corelib/tools/settings.h @@ -59,6 +59,7 @@ public: QStringList profiles() const; QString fileName() const; + QString baseDirectoy() const { return m_baseDir; } private: QString internalRepresentation(const QString &externalKey) const; @@ -67,6 +68,7 @@ private: void checkStatus(); QSettings * const m_settings; + const QString m_baseDir; }; } // namespace qbs -- cgit v1.2.3