Summary: | Changing the window decoration crashes KControl | ||
---|---|---|---|
Product: | kcontrol | Reporter: | Sandro Giessl <s.giessl> |
Component: | kcmkwindecoration | Assignee: | Karol Szwed <gallium> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | cerebro84, opensource, weston_p |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Sandro Giessl
2003-07-12 15:45:09 UTC
*** Bug 61194 has been marked as a duplicate of this bug. *** this looks related to library unloading. which gcc version, which distribution, which glibc, which binutils? I'm am the reporter of duplicate bug 61194: I have gcc 3.2.2. mdk 9.1, glibc 2.3.1, binutils 2.13.90.0.18 Here almost the same: gentoo with gcc-3.2.2, glibc-2.3.1-r4, binutils-2.13.90.0.18 Same here... Slackware 9 gcc (GCC) 3.2.2 /var/log/packages/glibc-2.3.1-i386-3 /var/log/packages/binutils-2.13.90.0.18-i386-1 Same on my end: RedHat 9.0 GCC 3.2.3 glibc-2.3.2-11.9 binutils-2.13.90.0.18-9 linux-2.4.20-8 Subject: kdebase/kwin/kcmkwin/kwindecoration CVS commit by gallium: Remove nasty static_cast<QWidget*>(QObject*) which was creating the crashes. CCMAIL: 61140-done@bugs.kde.org M +2 -2 kwindecoration.cpp 1.44 M +2 -2 kwindecoration.h 1.15 --- kdebase/kwin/kcmkwin/kwindecoration/kwindecoration.cpp #1.43:1.44 @@ -292,5 +292,5 @@ void KWinDecorationModule::resetPlugin( { allocatePlugin = (QObject* (*)(KConfig* conf, QWidget* parent))alloc_ptr; - pluginObject = static_cast<QWidget*>(allocatePlugin( conf, pluginConfigWidget )); + pluginObject = (QObject*)(allocatePlugin( conf, pluginConfigWidget )); // connect required signals and slots together... --- kdebase/kwin/kcmkwin/kwindecoration/kwindecoration.h #1.14:1.15 @@ -92,5 +92,5 @@ class KWinDecorationModule : public KCMo // Page 3 - QWidget* pluginObject; + QObject* pluginObject; QLabel* noPluginSettings; QString currentLibraryName; |