Compare commits
3 Commits
v0.4
...
4ce14a7284
Author | SHA1 | Date | |
---|---|---|---|
4ce14a7284 | |||
cc9dae37e5 | |||
64a9638d1e |
@ -68,7 +68,7 @@ Please see [USAGE.md](USAGE.md) for the user manual. There is also [HACKING.md](
|
|||||||
|
|
||||||
## Build
|
## Build
|
||||||
|
|
||||||
### Ubuntu 21.10/22.04
|
### Debian/Ubuntu
|
||||||
|
|
||||||
To build on Ubuntu and Debian, clone the repo and then run:
|
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
|
## Packages
|
||||||
At this point, looqs is not in any official distro package repo, but I maintain some 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.
|
Latest release can be installed using apt from the repo.
|
||||||
```
|
```
|
||||||
# First, obtain key, assume it's trusted.
|
# First, obtain key, assume it's trusted.
|
||||||
|
@ -120,7 +120,7 @@ void Indexer::dirScanProgress(int current, int total)
|
|||||||
|
|
||||||
void Indexer::processFileScanResult(FileScanResult result)
|
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);
|
this->currentIndexResult.results.append(result);
|
||||||
if(!keepGoing)
|
if(!keepGoing)
|
||||||
|
@ -30,4 +30,9 @@ static inline QString SaveFileResultToString(SaveFileResult sfr)
|
|||||||
return SaveFileResultStr[(int)sfr];
|
return SaveFileResultStr[(int)sfr];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static inline bool isErrorSaveFileResult(SaveFileResult result)
|
||||||
|
{
|
||||||
|
return result == DBFAIL || result == PROCESSFAIL || result == NOTFOUND || result == NOACCESS;
|
||||||
|
}
|
||||||
|
|
||||||
#endif // SAVEFILERESULT_H
|
#endif // SAVEFILERESULT_H
|
||||||
|
Reference in New Issue
Block a user