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:
Klaus Basan
2014-04-17 02:20:58 +02:00
parent ba4b0197a6
commit 84f389262c
3 changed files with 6 additions and 8 deletions

View File

@@ -2378,7 +2378,11 @@ QStatusBar QLabel {
<number>0</number>
</property>
<item>
<widget class="QLineEdit" name="le_SettingsSimulatorFsxExistsSimconncetCfg"/>
<widget class="QLineEdit" name="le_SettingsSimulatorFsxExistsSimconncetCfg">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pb_SettingsSimulatorFsxExistsSimconncetCfg">

View File

@@ -99,7 +99,7 @@ namespace BlackCore
bool CContextApplicationProxy::removeFile(const QString &fileName)
{
if (fileName.isEmpty()) return false;
return this->m_dBusInterface->callDBusRet<bool>(QLatin1Literal("deleteFile"), fileName);
return this->m_dBusInterface->callDBusRet<bool>(QLatin1Literal("removeFile"), fileName);
}
/*

View File

@@ -40,12 +40,6 @@ namespace BlackCore
s = connection.connect(serviceName, IContextNetwork::ObjectPath(), IContextNetwork::InterfaceName(),
"connectionTerminated", this, SIGNAL(connectionTerminated()));
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(),
"textMessagesReceived", this, SIGNAL(textMessagesReceived(BlackMisc::Network::CTextMessageList)));
Q_ASSERT(s);