[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#372564: kwalletmanager very often crashes at KDE Logout



Duh.  Well that was a dumb way for me to submit a new patch.

How about this instead?  Drop 14_kwalletmanager.diff in debian/patches and 
recompile.

John
diff -urN kdeutils-3.5.3.orig/kwallet/kwalletmanager.cpp kdeutils-3.5.3/kwallet/kwalletmanager.cpp
--- kdeutils-3.5.3.orig/kwallet/kwalletmanager.cpp	2006-06-13 14:00:19.000000000 -0700
+++ kdeutils-3.5.3/kwallet/kwalletmanager.cpp	2006-06-13 14:01:05.000000000 -0700
@@ -55,6 +55,7 @@
 	_shuttingDown = false;
 	KConfig cfg("kwalletrc"); // not sure why this setting isn't in kwalletmanagerrc...
 	KConfigGroup walletConfigGroup(&cfg, "Wallet");
+	_dcopRef = new DCOPRef("kded", "kwalletd");
 	if (walletConfigGroup.readBoolEntry("Launch Manager", true)) {
 		_tray = new KSystemTray(this, "kwalletmanager tray");
 		_tray->setPixmap(loadSystemTrayIcon("wallet_closed"));
@@ -89,7 +90,6 @@
 	setCentralWidget(_iconView);
 	_iconView->setMinimumSize(320, 200);
 
-	_dcopRef = new DCOPRef("kded", "kwalletd");
 	_dcopRef->dcopClient()->setNotifications(true);
 	connect(_dcopRef->dcopClient(),
 		SIGNAL(applicationRemoved(const QCString&)),

Reply to: