Adjust grace period for bluez when restarting the bluetooth server

This commit is contained in:
Simon Stürz 2019-10-09 10:14:12 +02:00
parent e670137052
commit 6eb0788719

View File

@ -344,7 +344,7 @@ void Core::onNetworkManagerAvailableChanged(bool available)
case ModeAlways:
qCDebug(dcApplication()) << "Start the bluetooth service because of \"always\" mode.";
// Give some grace periode for networkmanager
QTimer::singleShot(2000, this, &Core::startService);
QTimer::singleShot(4000, this, &Core::startService);
break;
case ModeStart:
break;