mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 02:45:33 +08:00
refs #207, fixed core cmd-input
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
#include "blackcore/context_audio.h"
|
#include "blackcore/context_audio.h"
|
||||||
#include "blackcore/context_settings.h"
|
#include "blackcore/context_settings.h"
|
||||||
#include "blackcore/context_application.h"
|
#include "blackcore/context_application.h"
|
||||||
#include "blackmisc/valuemap.h"
|
#include "blackmisc/indexvariantmap.h"
|
||||||
#include "blackmisc/avallclasses.h"
|
#include "blackmisc/avallclasses.h"
|
||||||
#include "blackmisc/pqallquantities.h"
|
#include "blackmisc/pqallquantities.h"
|
||||||
#include <QTextStream>
|
#include <QTextStream>
|
||||||
@@ -66,7 +66,7 @@ namespace BlackMiscTest
|
|||||||
qDebug() << "examples: sigappd, slonete, slosimd, sloalle";
|
qDebug() << "examples: sigappd, slonete, slosimd, sloalle";
|
||||||
qDebug() << "-------------";
|
qDebug() << "-------------";
|
||||||
|
|
||||||
line = qtin.readLine();
|
line = qtin.readLine().toLower().trimmed();
|
||||||
if (line.startsWith("0"))
|
if (line.startsWith("0"))
|
||||||
{
|
{
|
||||||
qDebug() << "-------------";
|
qDebug() << "-------------";
|
||||||
@@ -115,6 +115,7 @@ namespace BlackMiscTest
|
|||||||
}
|
}
|
||||||
else if (line.startsWith("sig"))
|
else if (line.startsWith("sig"))
|
||||||
{
|
{
|
||||||
|
line.replace("signal", "");
|
||||||
line.replace("sig", "");
|
line.replace("sig", "");
|
||||||
bool enable = line.endsWith("e");
|
bool enable = line.endsWith("e");
|
||||||
if (line.startsWith("app")) runtime->signalLogForApplication(enable);
|
if (line.startsWith("app")) runtime->signalLogForApplication(enable);
|
||||||
@@ -126,6 +127,7 @@ namespace BlackMiscTest
|
|||||||
}
|
}
|
||||||
else if (line.startsWith("slo"))
|
else if (line.startsWith("slo"))
|
||||||
{
|
{
|
||||||
|
line.replace("slot", "");
|
||||||
line.replace("slo", "");
|
line.replace("slo", "");
|
||||||
bool enable = line.endsWith("e");
|
bool enable = line.endsWith("e");
|
||||||
if (line.startsWith("app")) runtime->slotLogForApplication(enable);
|
if (line.startsWith("app")) runtime->slotLogForApplication(enable);
|
||||||
|
|||||||
Reference in New Issue
Block a user