mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 18:25:37 +08:00
Ref T218, renamed some functions of CIdentifier
This commit is contained in:
@@ -92,7 +92,7 @@ namespace BlackCore
|
||||
|
||||
s = connect(this, &IContextApplication::hotkeyActionsRegistered, [this](const QStringList & actions, const CIdentifier & origin)
|
||||
{
|
||||
if (origin.isFromSameProcess()) { return; }
|
||||
if (origin.hasApplicationProcessId()) { return; }
|
||||
CInputManager::instance()->registerRemoteActions(actions);
|
||||
});
|
||||
Q_ASSERT_X(s, Q_FUNC_INFO, "Connect hotkey actions failed");
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace BlackCore
|
||||
|
||||
void CContextApplication::logMessage(const CStatusMessage &message, const CIdentifier &origin)
|
||||
{
|
||||
if (!origin.isFromSameProcess())
|
||||
if (!origin.hasApplicationProcessId())
|
||||
{
|
||||
CLogHandler::instance()->logRemoteMessage(message);
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace BlackCore
|
||||
|
||||
connect(this, &IContextApplication::messageLogged, this, [](const CStatusMessage & message, const CIdentifier & origin)
|
||||
{
|
||||
if (!origin.isFromSameProcess())
|
||||
if (!origin.hasApplicationProcessId())
|
||||
{
|
||||
CLogHandler::instance()->logRemoteMessage(message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user