mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-07 01:55:12 +00:00
Decrease some indentation in linux platform code
This commit is contained in:
@@ -420,10 +420,17 @@ bool IsSNIAvailable() {
|
||||
|
||||
if (reply.isValid()) {
|
||||
return reply.value().toBool();
|
||||
} else if (reply.error().type() != QDBusError::ServiceUnknown) {
|
||||
LOG(("SNI Error: %1").arg(reply.error().message()));
|
||||
}
|
||||
|
||||
switch (reply.error().type()) {
|
||||
case QDBusError::Disconnected:
|
||||
case QDBusError::ServiceUnknown:
|
||||
return false;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
LOG(("SNI Error: %1").arg(reply.error().message()));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user