Porovnat revize
3 Commity
v0.4
...
4ce14a7284
Autor | SHA1 | Datum | |
---|---|---|---|
4ce14a7284 | |||
cc9dae37e5 | |||
64a9638d1e |
@ -68,7 +68,7 @@ Please see [USAGE.md](USAGE.md) for the user manual. There is also [HACKING.md](
|
||||
|
||||
## Build
|
||||
|
||||
### Ubuntu 21.10/22.04
|
||||
### Debian/Ubuntu
|
||||
|
||||
To build on Ubuntu and Debian, clone the repo and then run:
|
||||
```
|
||||
@ -95,7 +95,7 @@ The GUI is located in `gui/looqs-gui`, the binary for the CLI is in `cli/looqs`
|
||||
## Packages
|
||||
At this point, looqs is not in any official distro package repo, but I maintain some packages.
|
||||
|
||||
### Ubuntu 21.10/22.04
|
||||
### Ubuntu 22.04
|
||||
Latest release can be installed using apt from the repo.
|
||||
```
|
||||
# First, obtain key, assume it's trusted.
|
||||
|
@ -120,7 +120,7 @@ void Indexer::dirScanProgress(int current, int total)
|
||||
|
||||
void Indexer::processFileScanResult(FileScanResult result)
|
||||
{
|
||||
if(result.second != OK || result.second != OK_WASEMPTY || result.second != SKIPPED)
|
||||
if(isErrorSaveFileResult(result.second))
|
||||
{
|
||||
this->currentIndexResult.results.append(result);
|
||||
if(!keepGoing)
|
||||
|
@ -30,4 +30,9 @@ static inline QString SaveFileResultToString(SaveFileResult sfr)
|
||||
return SaveFileResultStr[(int)sfr];
|
||||
}
|
||||
|
||||
static inline bool isErrorSaveFileResult(SaveFileResult result)
|
||||
{
|
||||
return result == DBFAIL || result == PROCESSFAIL || result == NOTFOUND || result == NOACCESS;
|
||||
}
|
||||
|
||||
#endif // SAVEFILERESULT_H
|
||||
|
Odkázat v novém úkolu
Zablokovat Uživatele