mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 12:35:43 +08:00
fixes some bugs detected during compilation test
* wrong literal in relaySignals (DBus) * removed signals from network proxy * made GUI field readonly
This commit is contained in:
@@ -2378,7 +2378,11 @@ QStatusBar QLabel {
|
|||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLineEdit" name="le_SettingsSimulatorFsxExistsSimconncetCfg"/>
|
<widget class="QLineEdit" name="le_SettingsSimulatorFsxExistsSimconncetCfg">
|
||||||
|
<property name="readOnly">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="pb_SettingsSimulatorFsxExistsSimconncetCfg">
|
<widget class="QPushButton" name="pb_SettingsSimulatorFsxExistsSimconncetCfg">
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ namespace BlackCore
|
|||||||
bool CContextApplicationProxy::removeFile(const QString &fileName)
|
bool CContextApplicationProxy::removeFile(const QString &fileName)
|
||||||
{
|
{
|
||||||
if (fileName.isEmpty()) return false;
|
if (fileName.isEmpty()) return false;
|
||||||
return this->m_dBusInterface->callDBusRet<bool>(QLatin1Literal("deleteFile"), fileName);
|
return this->m_dBusInterface->callDBusRet<bool>(QLatin1Literal("removeFile"), fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -40,12 +40,6 @@ namespace BlackCore
|
|||||||
s = connection.connect(serviceName, IContextNetwork::ObjectPath(), IContextNetwork::InterfaceName(),
|
s = connection.connect(serviceName, IContextNetwork::ObjectPath(), IContextNetwork::InterfaceName(),
|
||||||
"connectionTerminated", this, SIGNAL(connectionTerminated()));
|
"connectionTerminated", this, SIGNAL(connectionTerminated()));
|
||||||
Q_ASSERT(s);
|
Q_ASSERT(s);
|
||||||
s = connection.connect(serviceName, IContextNetwork::ObjectPath(), IContextNetwork::InterfaceName(),
|
|
||||||
"statusMessage", this, SIGNAL(statusMessage(BlackMisc::CStatusMessage)));
|
|
||||||
Q_ASSERT(s);
|
|
||||||
s = connection.connect(serviceName, IContextNetwork::ObjectPath(), IContextNetwork::InterfaceName(),
|
|
||||||
"statusMessages", this, SIGNAL(statusMessages(BlackMisc::CStatusMessageList)));
|
|
||||||
Q_ASSERT(s);
|
|
||||||
s = connection.connect(serviceName, IContextNetwork::ObjectPath(), IContextNetwork::InterfaceName(),
|
s = connection.connect(serviceName, IContextNetwork::ObjectPath(), IContextNetwork::InterfaceName(),
|
||||||
"textMessagesReceived", this, SIGNAL(textMessagesReceived(BlackMisc::Network::CTextMessageList)));
|
"textMessagesReceived", this, SIGNAL(textMessagesReceived(BlackMisc::Network::CTextMessageList)));
|
||||||
Q_ASSERT(s);
|
Q_ASSERT(s);
|
||||||
|
|||||||
Reference in New Issue
Block a user