diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-07-23 00:10:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-07-23 00:10:43 +0300 |
commit | d97189f055798b5b2051c1c5770a3def62747461 (patch) | |
tree | d66a891dba33d2ce1c882e0de7d6145bb2e0326b /src/resources/wallpaper.cpp | |
parent | 25dce1399e40f24809842303d48ef090439de1e5 (diff) | |
download | mv-d97189f055798b5b2051c1c5770a3def62747461.tar.gz mv-d97189f055798b5b2051c1c5770a3def62747461.tar.bz2 mv-d97189f055798b5b2051c1c5770a3def62747461.tar.xz mv-d97189f055798b5b2051c1c5770a3def62747461.zip |
Improve perfomance in some object constructors.
Diffstat (limited to 'src/resources/wallpaper.cpp')
-rw-r--r-- | src/resources/wallpaper.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/wallpaper.cpp b/src/resources/wallpaper.cpp index 2f5fd9dca..316419627 100644 --- a/src/resources/wallpaper.cpp +++ b/src/resources/wallpaper.cpp @@ -33,6 +33,7 @@ #include <algorithm> #include <cstring> #include <time.h> +#include <iostream> #include "debug.h" @@ -84,7 +85,7 @@ bool wallpaperCompare(WallpaperData a, WallpaperData b) return (aa > ab || (aa == ab && a.width > b.width)); } -#include <iostream> + void Wallpaper::loadWallpapers() { wallpaperData.clear(); |