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 241b9e0b authored by Laurent Montel's avatar Laurent Montel 😁

Fix variable name

parent 7147dc52
......@@ -31,7 +31,7 @@
FolderArchiveAgentJob::FolderArchiveAgentJob(FolderArchiveManager *manager, FolderArchiveAccountInfo *info, const QList<Akonadi::Item> &lstItem, QObject *parent)
: QObject(parent),
mLstItem(lstItem),
mListItem(lstItem),
mManager(manager),
mInfo(info)
{
......@@ -47,7 +47,7 @@ void FolderArchiveAgentJob::start()
sendError(i18n("Archive folder not defined. Please verify settings for account", mInfo->instanceName() ));
return;
}
if (mLstItem.isEmpty()) {
if (mListItem.isEmpty()) {
sendError(i18n("No messages selected."));
return;
}
......@@ -97,7 +97,7 @@ void FolderArchiveAgentJob::slotCollectionIdFound(const Akonadi::Collection &col
void FolderArchiveAgentJob::sloMoveMailsToCollection(const Akonadi::Collection &col)
{
KMMoveCommand *command = new KMMoveCommand( col, mLstItem, -1 );
KMMoveCommand *command = new KMMoveCommand( col, mListItem, -1 );
connect( command, SIGNAL(moveDone(KMMoveCommand*)), this, SLOT(slotMoveMessages(KMMoveCommand*)));
command->start();
}
......
......@@ -41,7 +41,7 @@ private Q_SLOTS:
void slotMoveMessages(KMMoveCommand *);
private:
void sendError(const QString &error);
QList<Akonadi::Item> mLstItem;
QList<Akonadi::Item> mListItem;
FolderArchiveManager *mManager;
FolderArchiveAccountInfo *mInfo;
};
......
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