DiscoveryPhase: fix the name of a function

It was renamed from white list to black list long ago
This commit is contained in:
Olivier Goffart 2014-09-26 12:34:30 +02:00
parent b1c842373d
commit b4071cec01
2 changed files with 3 additions and 3 deletions

View file

@ -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;

View file

@ -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,