diff options
Diffstat (limited to 'src/gui/widgets/desktop.h')
-rw-r--r-- | src/gui/widgets/desktop.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/widgets/desktop.h b/src/gui/widgets/desktop.h index 97294423..5909ac72 100644 --- a/src/gui/widgets/desktop.h +++ b/src/gui/widgets/desktop.h @@ -26,6 +26,8 @@ #include "gui/widgets/container.h" +#include "resources/resource.h" + #include <guichan/widgetlistener.hpp> class Image; @@ -61,7 +63,7 @@ class Desktop : public Container, gcn::WidgetListener private: void setBestFittingWallpaper(); - Image *mWallpaper = nullptr; + ResourceRef<Image> mWallpaper; gcn::Label *mVersionLabel; }; |