configModule outlives KCModuleQML.
BUG: 397894
broulik | |
bruns |
Plasma |
configModule outlives KCModuleQML.
BUG: 397894
Compiled
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
src/kcmoduleqml.cpp | ||
---|---|---|
74 | this is desctructed after d has been deleted, so the signal may be still connected after d is deleted. Does disconnect(configModule, 0, this, 0) work, when called in the destructor? |
src/kcmoduleqml.cpp | ||
---|---|---|
74 | Technically yes, but there's no sane scope for a code path where configModule is emitting anything between deleting d and this. |
src/kcmoduleqml.cpp | ||
---|---|---|
74 | Thanks for the confirmation, hope nobody finds an insane one ;-) |