mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 08:36:52 +08:00
refs #316 Removed old statusMessage signals and sendStatusMessage slots.
This commit is contained in:
@@ -159,18 +159,6 @@ namespace BlackCore
|
||||
Q_ASSERT(c);
|
||||
}
|
||||
|
||||
// only if application runs locally
|
||||
if (this->m_contextApplication && this->m_contextApplication->usingLocalObjects())
|
||||
{
|
||||
c = connect(this->m_contextApplication, &IContextApplication::statusMessage,
|
||||
this->getCContextSimulator(), &CContextSimulator::ps_statusMessageReceived);
|
||||
Q_ASSERT(c);
|
||||
|
||||
c = connect(this->m_contextApplication, &IContextApplication::statusMessages,
|
||||
this->getCContextSimulator(), &CContextSimulator::ps_statusMessagesReceived);
|
||||
Q_ASSERT(c);
|
||||
}
|
||||
|
||||
// connect local simulator and settings and load plugin
|
||||
if (this->m_contextSettings)
|
||||
{
|
||||
@@ -258,18 +246,6 @@ namespace BlackCore
|
||||
}
|
||||
}
|
||||
|
||||
void CRuntime::sendStatusMessage(const CStatusMessage &message)
|
||||
{
|
||||
if (!this->getIContextApplication()) return;
|
||||
this->getIContextApplication()->sendStatusMessage(message);
|
||||
}
|
||||
|
||||
void CRuntime::sendStatusMessages(const CStatusMessageList &messages)
|
||||
{
|
||||
if (!this->getIContextApplication()) return;
|
||||
this->getIContextApplication()->sendStatusMessages(messages);
|
||||
}
|
||||
|
||||
void CRuntime::initDBusConnection(const QString &address)
|
||||
{
|
||||
if (this->m_initDBusConnection) return;
|
||||
|
||||
Reference in New Issue
Block a user