aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qtsupport/exampleslistmodel.cpp
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2019-09-30 15:44:52 +0200
committerTobias Hunger <tobias.hunger@qt.io>2019-10-01 07:36:59 +0000
commit3404a44ee1bf0cc72cecd899246f35f842b1e970 (patch)
tree0737da1680ec42dee899f3c6b962a5f3abcb604a /src/plugins/qtsupport/exampleslistmodel.cpp
parent9c84c6b271348fcc14478ed67c8ff1b6ef3765a9 (diff)
BaseQtVersion: Have examplesPath() return a FilePath
Change-Id: I6b37345022d7cdba4aef0af0ca2a825c8606062c Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/qtsupport/exampleslistmodel.cpp')
-rw-r--r--src/plugins/qtsupport/exampleslistmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qtsupport/exampleslistmodel.cpp b/src/plugins/qtsupport/exampleslistmodel.cpp
index ee0d88088a6..3477796d00d 100644
--- a/src/plugins/qtsupport/exampleslistmodel.cpp
+++ b/src/plugins/qtsupport/exampleslistmodel.cpp
@@ -578,7 +578,7 @@ QStringList ExampleSetModel::exampleSources(QString *examplesInstallPath, QStrin
foreach (BaseQtVersion *version, QtVersionManager::versions()) {
if (version->uniqueId() == qtId) {
manifestScanPath = version->documentationPath();
- examplesPath = version->examplesPath();
+ examplesPath = version->examplesPath().toString();
demosPath = version->demosPath();
break;
}