mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 11:05:33 +08:00
refs #314, fixed DBus crash because of wrong list type
discussion here: https://dev.vatsim-germany.org/boards/22/topics/2006?r=2015#message-2015 * Fixed CIndexVariantMap * In the same step added more tests in the DBus sample
This commit is contained in:
@@ -47,6 +47,9 @@ namespace BlackMisc
|
||||
//! Add a value
|
||||
void addValue(const CPropertyIndex &index, const QVariant &value);
|
||||
|
||||
//! Add QString as literal, disambiguate as I want to add QString
|
||||
void addValue(const CPropertyIndex &index, const char* str);
|
||||
|
||||
//! Add a value as non QVariant
|
||||
template<class T> void addValue(const CPropertyIndex &index, const T &value) { this->m_values.insert(index, CVariant::fromValue(value)); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user