Fix build without libsyncthing

This commit is contained in:
Martchus 2018-04-12 16:14:09 +02:00
parent 0ceb8d5e79
commit b7dbd2c72b
1 changed files with 4 additions and 0 deletions

View File

@ -88,7 +88,11 @@ void SyncthingLauncher::handleProcessFinished(int exitCode, QProcess::ExitStatus
void SyncthingLauncher::runLibSyncthing(const LibSyncthing::RuntimeOptions &runtimeOptions)
{
#ifdef SYNCTHING_WIDGETS_USE_LIBSYNCTHING
LibSyncthing::runSyncthing(runtimeOptions);
#else
VAR_UNUSED(runtimeOptions)
#endif
}
SyncthingLauncher &syncthingLauncher()