Commit 9f8a1826 authored by Laurent Montel's avatar Laurent Montel 😁

fix signal/slot

svn path=/trunk/KDE/kdepim/kmail/; revision=1158264
parent 18b7da94
......@@ -209,7 +209,6 @@ KMKernel::KMKernel (QObject *parent, const char *name) :
this, SLOT( slotProgressItemCompletedOrCanceled( KPIM::ProgressItem* ) ) );
connect( KPIM::ProgressManager::instance(), SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
this, SLOT( slotProgressItemCompletedOrCanceled( KPIM::ProgressItem* ) ) );
connect( monitor(), SIGNAL( itemRemoved( const Akonadi::Item &) ), the_undoStack, SLOT( msgDestroyed( const Akonadi::Item& ) ) );
}
KMKernel::~KMKernel ()
......@@ -1176,6 +1175,8 @@ void KMKernel::init()
}
connect( Akonadi::ServerManager::self(), SIGNAL( stateChanged( Akonadi::ServerManager::State ) ), this, SLOT( akonadiStateChanged( Akonadi::ServerManager::State ) ) );
connect( monitor(), SIGNAL( itemRemoved( const Akonadi::Item &) ), the_undoStack, SLOT( msgDestroyed( const Akonadi::Item& ) ) );
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment