summaryrefslogtreecommitdiffstats
path: root/kdesktop/KBackgroundIface.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-08 19:50:21 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-08 19:50:21 +0000
commit02ee984b9d0de9840af7aa60164041cb066674bd (patch)
tree919bab01656b62cd57d7b6c08693f3698b0e48ec /kdesktop/KBackgroundIface.h
parent20957d880f050d82c71939cb750c54a6dcfd70f4 (diff)
downloadtdebase-02ee984b9d0de9840af7aa60164041cb066674bd.tar.gz
tdebase-02ee984b9d0de9840af7aa60164041cb066674bd.zip
Fix Bug #456
On newer gcc/libstdc/glibc systems virtual base objects are not actually allocated, causing a crash when assigning to data members of the virtual base object. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1240474 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdesktop/KBackgroundIface.h')
-rw-r--r--kdesktop/KBackgroundIface.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/kdesktop/KBackgroundIface.h b/kdesktop/KBackgroundIface.h
index 47818021a..0753b54aa 100644
--- a/kdesktop/KBackgroundIface.h
+++ b/kdesktop/KBackgroundIface.h
@@ -8,11 +8,13 @@
#include <dcopobject.h>
#include <tqcolor.h>
-class KBackgroundIface : virtual public DCOPObject
+class KBackgroundIface : public DCOPObject
{
K_DCOP
public:
+ KBackgroundIface() : DCOPObject("KBackgroundIface") {}
+
k_dcop:
/** Reread the configuration */
virtual void configure() = 0;