summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/desktop.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/widgets/desktop.cpp b/src/gui/widgets/desktop.cpp
index 701145440..6c939db5c 100644
--- a/src/gui/widgets/desktop.cpp
+++ b/src/gui/widgets/desktop.cpp
@@ -35,6 +35,8 @@
#include "resources/imagehelper.h"
#include "resources/wallpaper.h"
+#include "resources/loaders/rescaledloader.h"
+
#include "resources/resourcemanager/resourcemanager.h"
#include "render/graphics.h"
@@ -190,7 +192,7 @@ void Desktop::setBestFittingWallpaper()
nWallPaper->getHeight() != height))
{
// We rescale to obtain a fullscreen wallpaper...
- Image *const newRsclWlPpr = resourceManager->getRescaled(
+ Image *const newRsclWlPpr = Loader::getRescaled(
nWallPaper, width, height);
if (newRsclWlPpr)