[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenetwork/kopete/kopete
From: Will Stephenson <lists () stevello ! free-online ! co ! uk>
Date: 2005-02-03 12:25:45
Message-ID: 20050203122545.2EAD71BAC4 () office ! kde ! org
[Download RAW message or body]
CVS commit by wstephens:
Preload the addressbook, because loading it at an arbitrary point (MCLVI init) during \
startup causes us to enter the event loop, which breaks many things.
M +6 -0 kopeteapplication.cpp 1.192
--- kdenetwork/kopete/kopete/kopeteapplication.cpp #1.191:1.192
@@ -30,4 +30,5 @@
#include <kmessagebox.h>
+#include "kabcpersistence.h"
#include "kopeteaccount.h"
#include "kopeteaccountmanager.h"
@@ -120,4 +121,9 @@ KopeteApplication::~KopeteApplication()
void KopeteApplication::slotLoadPlugins()
{
+ // we have to load the address book early, because calling this enters the \
Qt event loop when there are remote resources. + // The plugin manager is \
written with the assumption that Kopete will not reenter the event loop during plugin \
load, + // otherwise lots of things break as plugins are loaded, then contacts \
are added to incompletely initialised MCLVIs + \
Kopete::KABCPersistence::self()->addressBook(); +
//Create the command handler (looks silly)
Kopete::CommandHandler::commandHandler();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic