diff options
author | hjk <hjk@qt.io> | 2017-01-26 16:23:04 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2017-02-03 15:09:47 +0000 |
commit | a0402dc0dfb11361aff4e433e15094ebd9076c0c (patch) | |
tree | e0d47fa61ec979a5d984f8bf1f498acd88240950 /src/plugins/qtsupport/exampleslistmodel.cpp | |
parent | 42e3492e1aae481d55de7ac3c446d7a8c897479c (diff) |
QtSupport: Move built-in list of tutorials to resources
Task-number: QTCREATORBUG-17635
Change-Id: Ie1a738efe2dc6dbb217079cce508642b5c1504d6
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/qtsupport/exampleslistmodel.cpp')
-rw-r--r-- | src/plugins/qtsupport/exampleslistmodel.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/qtsupport/exampleslistmodel.cpp b/src/plugins/qtsupport/exampleslistmodel.cpp index 754ed3ffebd..2c3e337abe9 100644 --- a/src/plugins/qtsupport/exampleslistmodel.cpp +++ b/src/plugins/qtsupport/exampleslistmodel.cpp @@ -551,10 +551,9 @@ BaseQtVersion *ExamplesListModel::findHighestQtVersion() const QStringList ExamplesListModel::exampleSources(QString *examplesInstallPath, QString *demosInstallPath) { QStringList sources; - QString resourceDir = Core::ICore::resourcePath() + QLatin1String("/welcomescreen/"); // Qt Creator shipped tutorials - sources << (resourceDir + QLatin1String("/qtcreator_tutorials.xml")); + sources << ":/qtsupport/qtcreator_tutorials.xml"; QString examplesPath; QString demosPath; |