refs #315 Removed old/deprecated CRuntime::logSlot, changed contexts to use new CRuntime::logSlot.

Network context was already using new CRuntime::logSlot as of commit:81c68058.
This commit is contained in:
Mathew Sutcliffe
2014-08-18 00:18:04 +01:00
parent 45f23127bb
commit 96ca38a3db
10 changed files with 57 additions and 62 deletions

View File

@@ -247,15 +247,6 @@ namespace BlackCore
qDebug() << "signal" << s << values;
}
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;
}
void CRuntime::logSlot(const char *func, const QString &param) const
{
qDebug() << func << param;