diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-08 19:50:21 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-08 19:50:21 +0000 |
commit | 02ee984b9d0de9840af7aa60164041cb066674bd (patch) | |
tree | 919bab01656b62cd57d7b6c08693f3698b0e48ec /kdesktop/KBackgroundIface.h | |
parent | 20957d880f050d82c71939cb750c54a6dcfd70f4 (diff) | |
download | tdebase-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.h | 4 |
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; |