mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
fixed missing braces
This commit is contained in:
@@ -204,11 +204,11 @@ namespace BlackCore
|
||||
|
||||
void CRuntime::logSlot(const char *func, const QString &p1, const QString &p2, const QString &p3, const QString &p4) const
|
||||
{
|
||||
if (p1.isEmpty()) qDebug() << func; return;
|
||||
if (p2.isEmpty()) qDebug() << func << p1; return;
|
||||
if (p3.isEmpty()) qDebug() << func << p1 << p2; return;
|
||||
if (p4.isEmpty()) qDebug() << func << p1 << p2 << p3; return;
|
||||
qDebug() << func << p1 << p2 << p3 << p4; return;
|
||||
if (p1.isEmpty()) { qDebug() << func; return; }
|
||||
if (p2.isEmpty()) { qDebug() << func << p1; return; }
|
||||
if (p3.isEmpty()) { qDebug() << func << p1 << p2; return; }
|
||||
if (p4.isEmpty()) { qDebug() << func << p1 << p2 << p3; return; }
|
||||
qDebug() << func << p1 << p2 << p3 << p4;
|
||||
}
|
||||
|
||||
void CRuntime::logSlot(const char *func, bool boolValue) const
|
||||
|
||||
Reference in New Issue
Block a user