~nemh/systemback/devel

« back to all changes in this revision

Viewing changes to systemback/systemback.cpp

  • Committer: Kende Krisztián
  • Date: 2016-05-16 11:30:40 UTC
  • Revision ID: nemh@freemail.hu-20160516113040-u2srqeww9ks655j0
Remove an unnecessary lambda function

Show diffs side-by-side

added added

removed removed

Lines of Context:
4812
4812
        inc ? (ilst = ui->includeitemslist, dlst = ui->includedlist) : (ilst = ui->excludeitemslist, dlst = ui->excludedlist);
4813
4813
 
4814
4814
        for(cQStr &item : QDir(dir).entryList(QDir::AllEntries | QDir::Hidden | QDir::NoDotAndDotDot))
4815
 
            if((inc || ui->liveexclude->isChecked() ? ! sb::like(item, {"_.*", "_snap_"}) : [&item] { return item.startsWith('.') ? ! sb::like(item, {"_.gvfs_", "_.Xauthority_", "_.ICEauthority_"}) : item == "snap"; }()) && dlst->findItems(item, Qt::MatchExactly).isEmpty())
 
4815
            if((inc || ui->liveexclude->isChecked() ? ! sb::like(item, {"_.*", "_snap_"}) : item.startsWith('.') ? ! sb::like(item, {"_.gvfs_", "_.Xauthority_", "_.ICEauthority_"}) : item == "snap") && dlst->findItems(item, Qt::MatchExactly).isEmpty())
4816
4816
            {
4817
4817
                QList<QTrWI *> flst(ilst->findItems(item, Qt::MatchExactly));
4818
4818