Fix typos pathes -> paths

This commit is contained in:
Zheng, Lei
2019-07-20 11:18:47 +08:00
committed by wmayer
parent 3bb578c825
commit 2f0aa9b2a5
4 changed files with 16 additions and 16 deletions

View File

@@ -244,7 +244,7 @@ void DocumentRecovery::accept()
WaitCursor wc;
int index = -1;
std::vector<int> indices;
std::vector<std::string> filenames, pathes, labels, errs;
std::vector<std::string> filenames, paths, labels, errs;
for(auto &info : d->recoveryInfo) {
++index;
std::string documentName;
@@ -257,7 +257,7 @@ void DocumentRecovery::accept()
if (fi.fileName() == QLatin1String("Document.xml"))
file = createProjectFile(info.projectFile);
pathes.emplace_back(file.toUtf8().constData());
paths.emplace_back(file.toUtf8().constData());
filenames.emplace_back(info.fileName.toUtf8().constData());
labels.emplace_back(info.label.toUtf8().constData());
indices.push_back(index);
@@ -283,7 +283,7 @@ void DocumentRecovery::accept()
}
}
auto docs = App::GetApplication().openDocuments(filenames,&pathes,&labels,&errs);
auto docs = App::GetApplication().openDocuments(filenames,&paths,&labels,&errs);
for(int i=0;i<(int)docs.size();++i) {
auto &info = d->recoveryInfo[indices[i]];