aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/tools/preferences.h
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2014-02-25 16:27:35 +0100
committerChristian Kandeler <christian.kandeler@digia.com>2014-02-25 17:38:30 +0100
commit0816b8e476d20e00cbcffd1e71162adf93e85658 (patch)
tree537711cbc6285e6108fb745fb98665114e27b806 /src/lib/corelib/tools/preferences.h
parente455dcff532c6cc1482c844d3f1ffb7130f082ee (diff)
Do not put the plugins where the resources are.
That's not where they belong. Also make less assumptions about the file path leading to them. Ideally, we should also do the latter for the stuff in share/, but then someone would have to touch the horrific qmake code in static.pro. Task-number: QTCREATORBUG-10074 Change-Id: Ide9c4b83dcf0cd7a62b57643b79caf05662358cb Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/lib/corelib/tools/preferences.h')
-rw-r--r--src/lib/corelib/tools/preferences.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/corelib/tools/preferences.h b/src/lib/corelib/tools/preferences.h
index e5e6c9bb6..e6600947c 100644
--- a/src/lib/corelib/tools/preferences.h
+++ b/src/lib/corelib/tools/preferences.h
@@ -46,8 +46,8 @@ public:
int jobs() const;
QString shell() const;
QString defaultBuildDirectory() const;
- QStringList searchPaths(const QString &qbsRootPath = QString()) const;
- QStringList pluginPaths(const QString &qbsRootPath = QString()) const;
+ QStringList searchPaths(const QString &baseDir = QString()) const;
+ QStringList pluginPaths(const QString &baseDir = QString()) const;
private:
QVariant getPreference(const QString &key, const QVariant &defaultValue = QVariant()) const;