GODT-1609: remove unused gRPC event (c++ side)

This commit is contained in:
Romain LE JEUNE
2022-10-04 10:37:11 +02:00
committed by James Houlahan
parent bf15eebd2d
commit 3b5f931f06
10 changed files with 563 additions and 1425 deletions

View File

@ -104,7 +104,6 @@ void QMLBackend::connectGrpcEvents()
connect(client, &GRPCClient::showMainWindow, this, &QMLBackend::showMainWindow);
// cache events
connect(client, &GRPCClient::isCacheOnDiskEnabledChanged, this, &QMLBackend::isDiskCacheEnabledChanged);
connect(client, &GRPCClient::diskCachePathChanged, this, &QMLBackend::diskCachePathChanged);
connect(client, &GRPCClient::cacheUnavailable, this, &QMLBackend::cacheUnavailable); // _ func() `signal:"cacheUnavailable"`
connect(client, &GRPCClient::cacheCantMove, this, &QMLBackend::cacheCantMove);
@ -320,16 +319,6 @@ void QMLBackend::changePorts(int imapPort, int smtpPort)
}
//****************************************************************************************************************************************************
/// \param[in] enable Is cache enabled?
/// \param[in] path The path of the cache.
//****************************************************************************************************************************************************
void QMLBackend::changeLocalCache(bool enable, QUrl const &path)
{
app().grpc().changeLocalCache(enable, path);
}
//****************************************************************************************************************************************************
/// \param[in] active Should DoH be active.
//****************************************************************************************************************************************************