do setup_handlers AFTER creating theKProcessController, so that if
the childhandler is called right away, it will not crash. Fixes kded crashes on start.
This commit is contained in:
parent
01bb9d7fa9
commit
10e9652ca4
@ -1,9 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.43 2004/12/16 07:25:25 alek Exp $
|
||||
# $OpenBSD: Makefile,v 1.44 2005/01/28 09:40:30 espie Exp $
|
||||
|
||||
COMMENT= "K Desktop Environment, libraries"
|
||||
CATEGORIES= x11 x11/kde
|
||||
VERSION= 3.3.2
|
||||
DISTNAME= kdelibs-${VERSION}
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
MODKDE_VERSION?= 3.3.0
|
||||
|
||||
FLAVORS=debug
|
||||
|
22
x11/kde/libs3/patches/patch-kdecore_kprocctrl_cpp
Normal file
22
x11/kde/libs3/patches/patch-kdecore_kprocctrl_cpp
Normal file
@ -0,0 +1,22 @@
|
||||
$OpenBSD: patch-kdecore_kprocctrl_cpp,v 1.1 2005/01/28 09:40:30 espie Exp $
|
||||
--- kdecore/kprocctrl.cpp.orig Fri Jan 28 02:37:56 2005
|
||||
+++ kdecore/kprocctrl.cpp Fri Jan 28 02:39:25 2005
|
||||
@@ -39,7 +39,10 @@ int KProcessController::refCount;
|
||||
void KProcessController::ref()
|
||||
{
|
||||
if( !refCount )
|
||||
+ {
|
||||
theKProcessController = new KProcessController;
|
||||
+ setupHandlers();
|
||||
+ }
|
||||
refCount++;
|
||||
}
|
||||
|
||||
@@ -71,7 +74,6 @@ KProcessController::KProcessController()
|
||||
QObject::connect( notifier, SIGNAL(activated(int)),
|
||||
SLOT(slotDoHousekeeping()));
|
||||
|
||||
- setupHandlers();
|
||||
}
|
||||
|
||||
KProcessController::~KProcessController()
|
Loading…
Reference in New Issue
Block a user