Commit e8df1e35 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix slot name

parent 7722b0f5
......@@ -80,7 +80,7 @@ NewMailNotifierAgent::NewMailNotifierAgent( const QString &id )
changeRecorder()->collectionFetchScope().setAncestorRetrieval( Akonadi::CollectionFetchScope::All );
changeRecorder()->setCollectionMonitored(Collection::root(), true);
mTimer.setInterval( 5 * 1000 );
connect( &mTimer, SIGNAL(timeout()), SLOT(showNotifications()) );
connect( &mTimer, SIGNAL(timeout()), SLOT(slotShowNotifications()) );
KConfigGroup group( KGlobal::config(), "General" );
mNotifierEnabled = group.readEntry( "enabled", true);
......@@ -226,7 +226,7 @@ void NewMailNotifierAgent::itemAdded( const Akonadi::Item &item, const Akonadi::
mNewMails[ collection ].append( item.id() );
}
void NewMailNotifierAgent::showNotifications()
void NewMailNotifierAgent::slotShowNotifications()
{
if (mNewMails.isEmpty())
return;
......
......@@ -56,7 +56,7 @@ protected:
void itemMoved( const Akonadi::Item &item, const Akonadi::Collection &collectionSource, const Akonadi::Collection &collectionDestination );
private slots:
void showNotifications();
void slotShowNotifications();
void configure(WId windowId);
void slotInstanceStatusChanged(const Akonadi::AgentInstance &instance);
void slotInstanceRemoved(const Akonadi::AgentInstance &instance);
......
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