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

Store full path

parent 984130ba
Pipeline #96845 skipped
......@@ -61,6 +61,7 @@ HistorySwitchFolderCommand::HistorySwitchFolderCommand(HistorySwitchFolderManage
const QString &realPath)
: mCurrentCollection(currentCol)
, mNewCollection(col)
, mFullPath(realPath)
, mManager(manager)
{
}
......
......@@ -484,7 +484,7 @@ void KMMainWidget::slotFolderChanged(const Akonadi::Collection &collection)
if (mCurrentCollection == collection) {
return;
}
mHistorySwitchFolderManager->addHistory(mCurrentCollection, collection);
mHistorySwitchFolderManager->addHistory(mCurrentCollection, collection, MailCommon::Util::fullCollectionPath(collection));
}
void KMMainWidget::slotHistorySwitchFolder(const Akonadi::Collection &collection)
......
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