FileSaver: Don't add files in blacklisted paths

We now resolve symlinks when adding, so we can properly check
whether a path is excluded or not. This accidently also
helps with duplicates.

Excluded paths are hardcoded and can also be appended to
by the user using the settings.

Closes: #34
Tento commit je obsažen v:
2022-05-29 15:46:06 +02:00
rodič 483ea04638
revize b6926d510f
4 změnil soubory, kde provedl 32 přidání a 7 odebrání

Zobrazit soubor

@@ -11,5 +11,6 @@ void setPdfViewer();
QString findInPath(QString needle);
bool initSqliteDatabase(QString path);
void ensureConfigured();
QStringList excludedPaths();
} // namespace Common
#endif