mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kutils: check the qApp pointer in KCModuleProxy::deleteClient()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
a846ee0719
commit
2105d01df8
1 changed files with 5 additions and 3 deletions
|
@ -204,10 +204,12 @@ KCModuleProxy::~KCModuleProxy()
|
|||
void KCModuleProxy::deleteClient()
|
||||
{
|
||||
Q_D(KCModuleProxy);
|
||||
delete d->kcm;
|
||||
d->kcm = 0;
|
||||
delete d->kcm;
|
||||
d->kcm = 0;
|
||||
|
||||
qApp->syncX();
|
||||
if (qApp) {
|
||||
qApp->syncX();
|
||||
}
|
||||
}
|
||||
|
||||
void KCModuleProxyPrivate::_k_moduleChanged(bool c)
|
||||
|
|
Loading…
Add table
Reference in a new issue