Merge remote-tracking branch 'origin/Applications/16.08'

wilder
Montel Laurent 10 years ago
commit aa3d5da597
  1. 16
      src/filter/dialog/filteractionmissingargumentdialog.cpp

@ -178,15 +178,15 @@ Akonadi::Collection::List FilterActionMissingCollectionDialog::potentialCorrectF
return lst;
}
const int lastSlash = realPath.lastIndexOf(QLatin1Char('/'));
QString lastElement;
if (lastSlash == -1) {
lastElement = realPath;
} else {
lastElement = realPath.right(realPath.length() - lastSlash - 1);
}
if (KernelIf->collectionModel()) {
const int lastSlash = realPath.lastIndexOf(QLatin1Char('/'));
QString lastElement;
if (lastSlash == -1) {
lastElement = realPath;
} else {
lastElement = realPath.right(realPath.length() - lastSlash - 1);
}
FilterActionMissingCollectionDialog::getPotentialFolders(
KernelIf->collectionModel(), QModelIndex(), lastElement, lst);

Loading…
Cancel
Save