aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qtsupport/screenshotcropper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qtsupport/screenshotcropper.cpp')
-rw-r--r--src/plugins/qtsupport/screenshotcropper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qtsupport/screenshotcropper.cpp b/src/plugins/qtsupport/screenshotcropper.cpp
index e678e40cf0..bec9bedf43 100644
--- a/src/plugins/qtsupport/screenshotcropper.cpp
+++ b/src/plugins/qtsupport/screenshotcropper.cpp
@@ -13,7 +13,7 @@ namespace Internal {
#ifdef QT_CREATOR
Q_GLOBAL_STATIC_WITH_INITIALIZER(AreasOfInterest, areasOfInterest, {
- *x = ScreenshotCropper::loadAreasOfInterest(Core::ICore::instance()->resourcePath() + QLatin1String("/welcomescreen/images_areaofinterest.xml"));
+ *x = ScreenshotCropper::loadAreasOfInterest(Core::ICore::resourcePath() + QLatin1String("/welcomescreen/images_areaofinterest.xml"));
})
#else
Q_GLOBAL_STATIC(AreasOfInterest, areasOfInterest)