Commit 0e2dd69e authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Improve debug

parent 55050fcf
......@@ -67,8 +67,6 @@ NewMailNotifierAgent::NewMailNotifierAgent( const QString &id )
connect( Akonadi::AgentManager::self(), SIGNAL(instanceRemoved(Akonadi::AgentInstance)),
this, SLOT(slotInstanceRemoved(Akonadi::AgentInstance)) );
changeRecorder()->setMimeTypeMonitored( KMime::Message::mimeType() );
changeRecorder()->itemFetchScope().setCacheOnly( true );
changeRecorder()->itemFetchScope().setFetchModificationTime( false );
......@@ -315,7 +313,10 @@ void NewMailNotifierAgent::slotInstanceRemoved(const Akonadi::AgentInstance &ins
void NewMailNotifierAgent::printDebug()
{
kDebug()<<"instance in progress: "<<mInstanceNameInProgress<<"\n notifier enabled : "<<mNotifierEnabled<<"\n check in progress : "<<!mInstanceNameInProgress.isEmpty();
kDebug()<<"instance in progress: "<<mInstanceNameInProgress
<<"\n notifier enabled : "<<mNotifierEnabled
<<"\n check in progress : "<<!mInstanceNameInProgress.isEmpty()
<<"\n beep on new mails: "<<mBeepOnNewMails;
}
AKONADI_AGENT_MAIN( NewMailNotifierAgent )
......
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