Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 43d71a95 authored by Laurent Montel's avatar Laurent Montel 😁

Don't detach them

parent 691bd8a6
......@@ -90,7 +90,7 @@ QList<QByteArray> CodecAction::mimeCharsets() const
// Specific codec selected.
// ret << currentCodecName().toLatin1().toLower(); // FIXME in kdelibs: returns e.g. '&koi8-r'
ret << currentCodec()->name();
kDebug() << "current codec name" << ret.first();
kDebug() << "current codec name" << ret.at(0);
}
return ret;
}
......
......@@ -86,7 +86,7 @@ void FolderArchiveAgentJob::slotFetchCollection(KJob *job)
sendError(i18n("List of collections is empty. %1", job->errorString() ));
return;
}
sloMoveMailsToCollection(collections.first());
sloMoveMailsToCollection(collections.at(0));
}
void FolderArchiveAgentJob::slotCollectionIdFound(const Akonadi::Collection &col)
......
......@@ -256,7 +256,7 @@ void XFaceConfigurator::slotDelayedSelectFromAddressbook( KJob *job )
return;
}
const Addressee contact = searchJob->contacts().first();
const Addressee contact = searchJob->contacts().at(0);
if ( contact.photo().isIntern() )
{
const QImage photo = contact.photo().data();
......
......@@ -76,7 +76,7 @@ void CreateTaskJob::itemFetchJobDone(KJob *job)
bool parentStatus = false;
// Toggle actions on threads toggle the whole thread
// depending on the state of the parent.
const Akonadi::Item first = lst.first();
const Akonadi::Item first = lst.at(0);
Akonadi::MessageStatus pStatus;
pStatus.setStatusFromFlags( first.flags() );
if ( pStatus & Akonadi::MessageStatus::statusToAct() )
......
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