diff options
Diffstat (limited to 'src/gui/widgets/desktop.cpp')
-rw-r--r-- | src/gui/widgets/desktop.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/desktop.cpp b/src/gui/widgets/desktop.cpp index 8b6217da2..f7183553f 100644 --- a/src/gui/widgets/desktop.cpp +++ b/src/gui/widgets/desktop.cpp @@ -60,7 +60,10 @@ Desktop::Desktop() Desktop::~Desktop() { if (mWallpaper) + { mWallpaper->decRef(); + mWallpaper = 0; + } } void Desktop::reloadWallpaper() |