mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-24 22:15:57 +03:00
DiscoveryPhase: fix the name of a function
It was renamed from white list to black list long ago
This commit is contained in:
parent
b1c842373d
commit
b4071cec01
2 changed files with 3 additions and 3 deletions
|
@ -45,7 +45,7 @@ bool DiscoveryJob::isInBlackList(const QString& path) const
|
|||
return false;
|
||||
}
|
||||
|
||||
int DiscoveryJob::isInWhiteListCallBack(void *data, const char *path)
|
||||
int DiscoveryJob::isInBlackListCallBack(void *data, const char *path)
|
||||
{
|
||||
return static_cast<DiscoveryJob*>(data)->isInBlackList(QString::fromUtf8(path));
|
||||
}
|
||||
|
@ -72,7 +72,7 @@ void DiscoveryJob::update_job_update_callback (bool local,
|
|||
|
||||
void DiscoveryJob::start() {
|
||||
_selectiveSyncBlackList.sort();
|
||||
_csync_ctx->checkBlackListHook = isInWhiteListCallBack;
|
||||
_csync_ctx->checkBlackListHook = isInBlackListCallBack;
|
||||
_csync_ctx->checkBlackListData = this;
|
||||
|
||||
_csync_ctx->callbacks.update_callback = update_job_update_callback;
|
||||
|
|
|
@ -41,7 +41,7 @@ class DiscoveryJob : public QObject {
|
|||
* false if the path should be ignored
|
||||
*/
|
||||
bool isInBlackList(const QString &path) const;
|
||||
static int isInWhiteListCallBack(void *, const char *);
|
||||
static int isInBlackListCallBack(void *, const char *);
|
||||
|
||||
static void update_job_update_callback (bool local,
|
||||
const char *dirname,
|
||||
|
|
Loading…
Reference in a new issue