aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qtsupport/screenshotcropper.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2017-01-26 16:23:04 +0100
committerhjk <hjk@qt.io>2017-02-03 15:09:47 +0000
commita0402dc0dfb11361aff4e433e15094ebd9076c0c (patch)
treee0d47fa61ec979a5d984f8bf1f498acd88240950 /src/plugins/qtsupport/screenshotcropper.cpp
parent42e3492e1aae481d55de7ac3c446d7a8c897479c (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/screenshotcropper.cpp')
-rw-r--r--src/plugins/qtsupport/screenshotcropper.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/qtsupport/screenshotcropper.cpp b/src/plugins/qtsupport/screenshotcropper.cpp
index 23d1464587f..1865826ebff 100644
--- a/src/plugins/qtsupport/screenshotcropper.cpp
+++ b/src/plugins/qtsupport/screenshotcropper.cpp
@@ -27,7 +27,6 @@
#include <utils/fileutils.h>
-#include <coreplugin/icore.h>
#include <QXmlStreamReader>
#include <QXmlStreamWriter>
#include <QDebug>
@@ -45,7 +44,7 @@ public:
AreasOfInterest::AreasOfInterest()
{
#ifdef QT_CREATOR
- areas = ScreenshotCropper::loadAreasOfInterest(Core::ICore::resourcePath() + QLatin1String("/welcomescreen/images_areaofinterest.xml"));
+ areas = ScreenshotCropper::loadAreasOfInterest(":/qtsupport/images_areaofinterest.xml");
#endif // QT_CREATOR
}