summaryrefslogtreecommitdiff
path: root/src/gui/theme.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-20 01:11:38 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-20 01:11:38 +0300
commit41959b08b3e44e00e7a388451142ee7934f05d2b (patch)
tree0f3ae4e9297b16eea6e61b925457761148bbb338 /src/gui/theme.cpp
parent132ee3146d10b6e6a860bfd7e03b5a8667f2a44b (diff)
downloadplus-41959b08b3e44e00e7a388451142ee7934f05d2b.tar.gz
plus-41959b08b3e44e00e7a388451142ee7934f05d2b.tar.bz2
plus-41959b08b3e44e00e7a388451142ee7934f05d2b.tar.xz
plus-41959b08b3e44e00e7a388451142ee7934f05d2b.zip
Remove wrong cleaning of ImageRect from theme.
Diffstat (limited to 'src/gui/theme.cpp')
-rw-r--r--src/gui/theme.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp
index b36791b13..9150ad1a7 100644
--- a/src/gui/theme.cpp
+++ b/src/gui/theme.cpp
@@ -424,8 +424,6 @@ Skin *Theme::readSkin(const std::string &filename, const bool full)
Image *const dBorders = Theme::getImageFromTheme(skinSetImage);
ImageRect *const border = new ImageRect;
ImageRect *const images = new ImageRect;
- memset(border, 0, sizeof(ImageRect));
- memset(images, 0, sizeof(ImageRect));
int padding = 3;
int titlePadding = 4;
int titlebarHeight = 0;