mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
Formatting
This commit is contained in:
committed by
Mathew Sutcliffe
parent
eab22e86b0
commit
a22cd134f8
@@ -601,10 +601,8 @@ namespace BlackCore
|
||||
Q_ASSERT_X(CEntityFlags::isSingleEntity(entity), Q_FUNC_INFO, "needs single entity");
|
||||
switch (mode)
|
||||
{
|
||||
case CDbFlags::Shared:
|
||||
return CDbInfo::entityToSharedName(entity);
|
||||
case CDbFlags::SharedInfoOnly:
|
||||
return CDbInfo::sharedInfoFileName();
|
||||
case CDbFlags::Shared: return CDbInfo::entityToSharedName(entity);
|
||||
case CDbFlags::SharedInfoOnly: return CDbInfo::sharedInfoFileName();
|
||||
default:
|
||||
case CDbFlags::DbReading:
|
||||
return CDbInfo::entityToServiceName(entity);
|
||||
@@ -613,7 +611,7 @@ namespace BlackCore
|
||||
|
||||
QString CDatabaseReader::dateTimeToDbLatestTs(const QDateTime &ts)
|
||||
{
|
||||
if (!ts.isValid()) return "";
|
||||
if (!ts.isValid()) { return ""; }
|
||||
return ts.toUTC().toString(Qt::ISODate);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user