Adjust grace period for bluez when restarting the bluetooth server
This commit is contained in:
parent
e670137052
commit
6eb0788719
@ -344,7 +344,7 @@ void Core::onNetworkManagerAvailableChanged(bool available)
|
|||||||
case ModeAlways:
|
case ModeAlways:
|
||||||
qCDebug(dcApplication()) << "Start the bluetooth service because of \"always\" mode.";
|
qCDebug(dcApplication()) << "Start the bluetooth service because of \"always\" mode.";
|
||||||
// Give some grace periode for networkmanager
|
// Give some grace periode for networkmanager
|
||||||
QTimer::singleShot(2000, this, &Core::startService);
|
QTimer::singleShot(4000, this, &Core::startService);
|
||||||
break;
|
break;
|
||||||
case ModeStart:
|
case ModeStart:
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user