mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 08:45:36 +08:00
refs #413 Fixed parameter type mismatch between signal of XBus::CService and CXBusServiceProxy.
This fixes a regression introduced because QList and CSequence now have different dbus signatures.
This commit is contained in:
@@ -22,9 +22,6 @@ namespace BlackSimPlugin
|
|||||||
namespace XPlane
|
namespace XPlane
|
||||||
{
|
{
|
||||||
|
|
||||||
//! Typedef needed to use CSequence<double> as a DBus argument
|
|
||||||
typedef BlackMisc::CSequence<double> CDoubleSequence;
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* Proxy object connected to a real XBus::CService object via DBus
|
* Proxy object connected to a real XBus::CService object via DBus
|
||||||
*/
|
*/
|
||||||
@@ -81,7 +78,7 @@ namespace BlackSimPlugin
|
|||||||
void aircraftModelChanged(const QString &path, const QString &filename, const QString &livery, const QString &icao);
|
void aircraftModelChanged(const QString &path, const QString &filename, const QString &livery, const QString &icao);
|
||||||
|
|
||||||
//! \copydoc XBus::CService::airportsInRangeUpdated
|
//! \copydoc XBus::CService::airportsInRangeUpdated
|
||||||
void airportsInRangeUpdated(const QStringList &icaoCodes, const QStringList &names, const CDoubleSequence &lats, const CDoubleSequence &lons, const CDoubleSequence &alts);
|
void airportsInRangeUpdated(const QStringList &icaoCodes, const QStringList &names, const QList<double> &lats, const QList<double> &lons, const QList<double> &alts);
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
//! \copydoc XBus::CService::updateAirportsInRange
|
//! \copydoc XBus::CService::updateAirportsInRange
|
||||||
|
|||||||
Reference in New Issue
Block a user