mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kded: fix regression since 361cc4b2
the cookies server was not starting which means that all on-demand started services were probably not started
This commit is contained in:
parent
4f2d53668c
commit
04145e76f6
1 changed files with 7 additions and 1 deletions
|
@ -66,6 +66,12 @@ static bool bCheckSycoca;
|
|||
static bool bCheckUpdates;
|
||||
static bool bCheckHostname;
|
||||
|
||||
#ifdef Q_DBUS_EXPORT
|
||||
extern Q_DBUS_EXPORT void qDBusAddSpyHook(void (*)(const QDBusMessage&));
|
||||
#else
|
||||
extern QDBUS_EXPORT void qDBusAddSpyHook(void (*)(const QDBusMessage&));
|
||||
#endif
|
||||
|
||||
static void runBuildSycoca(QObject *callBackObj=0, const char *callBackSlot=0, const char *callBackErrorSlot=0)
|
||||
{
|
||||
const QString exe = KStandardDirs::findExe(KBUILDSYCOCA_EXENAME);
|
||||
|
@ -116,7 +122,7 @@ Kded::Kded()
|
|||
session.registerObject("/kbuildsycoca", this);
|
||||
session.registerObject("/kded", this);
|
||||
|
||||
Q_DBUS_EXPORT(messageFilter);
|
||||
qDBusAddSpyHook(messageFilter);
|
||||
|
||||
m_pTimer = new QTimer(this);
|
||||
m_pTimer->setSingleShot( true );
|
||||
|
|
Loading…
Add table
Reference in a new issue