Pass settings also for bash-completion

This commit is contained in:
Martchus 2018-02-24 02:53:28 +01:00
parent 4a28ea31a5
commit 4483c42732
1 changed files with 1 additions and 0 deletions

View File

@ -230,6 +230,7 @@ bool Application::waitForConnected(int timeout)
bool Application::waitForConfig(int timeout)
{
using namespace TestUtilities;
m_connection.applySettings(m_settings);
return waitForSignalsOrFail(bind(&SyncthingConnection::requestConfig, ref(m_connection)), timeout,
signalInfo(&m_connection, &SyncthingConnection::error), signalInfo(&m_connection, &SyncthingConnection::newConfig),
signalInfo(&m_connection, &SyncthingConnection::newDirs), signalInfo(&m_connection, &SyncthingConnection::newDevices));