mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:55:33 +08:00
Ref T658, matching script QObject
This commit is contained in:
@@ -340,13 +340,19 @@ namespace BlackCore
|
||||
}
|
||||
else
|
||||
{
|
||||
if (ms.isString())
|
||||
QString logMessage;
|
||||
if (ms.isQObject())
|
||||
{
|
||||
const QString r = ms.toString();
|
||||
if (!r.isEmpty())
|
||||
{
|
||||
CLogMessage(getLogCategories()).info(u"Matching script: '%1'") << r;
|
||||
}
|
||||
// reverseModel = ms.toQ
|
||||
}
|
||||
else if (ms.isString())
|
||||
{
|
||||
logMessage = ms.toString();
|
||||
}
|
||||
|
||||
if (!logMessage.isEmpty())
|
||||
{
|
||||
CLogMessage(getLogCategories()).info(u"Matching script: '%1'") << logMessage;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user