summaryrefslogtreecommitdiffstats
path: root/mandriva/2010.2/other/ksplash-engine-moodin/moodin-0.4.2-memleak-bug.patch
diff options
context:
space:
mode:
authoralbator <[email protected]>2011-10-21 20:16:07 +0200
committeralbator <[email protected]>2011-10-21 20:16:07 +0200
commit7a0adf35896618a7570e425941fc1b74c54def47 (patch)
tree16dab9d8bfbd93575440f357c70907cbb5480980 /mandriva/2010.2/other/ksplash-engine-moodin/moodin-0.4.2-memleak-bug.patch
parentcd71be65dc30c8007ec54becdf6c50260ed8e908 (diff)
parenta8707e2a9f22d082cecb8ea6079175076f983c55 (diff)
downloadtde-packaging-7a0adf35896618a7570e425941fc1b74c54def47.tar.gz
tde-packaging-7a0adf35896618a7570e425941fc1b74c54def47.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'mandriva/2010.2/other/ksplash-engine-moodin/moodin-0.4.2-memleak-bug.patch')
-rw-r--r--mandriva/2010.2/other/ksplash-engine-moodin/moodin-0.4.2-memleak-bug.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/mandriva/2010.2/other/ksplash-engine-moodin/moodin-0.4.2-memleak-bug.patch b/mandriva/2010.2/other/ksplash-engine-moodin/moodin-0.4.2-memleak-bug.patch
new file mode 100644
index 000000000..ae750fbb8
--- /dev/null
+++ b/mandriva/2010.2/other/ksplash-engine-moodin/moodin-0.4.2-memleak-bug.patch
@@ -0,0 +1,15 @@
+--- moodin/src/thememoodin.cpp-- 2007-01-26 14:56:48.000000000 +0100
++++ moodin/src/thememoodin.cpp 2007-01-26 14:57:20.000000000 +0100
+@@ -81,8 +81,10 @@
+ mImageSpacer = cfg->readNumEntry("ImageSpacer", mUseIconSet ? mIconSetSize : 0);
+ mUsersBackground = cfg->readBoolEntry("UsersBackground", false);
+ mLabelCount = cfg->readNumEntry("Labels", 0);
+- mLabelShadowOffset = cfg->readPointEntry("LabelShadowOffset", new QPoint(2, 2));
+- mBaseResolution = cfg->readSizeEntry("BaseResolution", new QSize(1280, 1024));
++ QPoint pos(2,2);
++ mLabelShadowOffset = cfg->readPointEntry("LabelShadowOffset", &pos);
++ QSize size(1280, 1024);
++ mBaseResolution = cfg->readSizeEntry("BaseResolution", &size);
+ mTranslate = cfg->readBoolEntry("Translate", true);
+ mLineUpImages = cfg->readBoolEntry("LineUpImages", false);
+