mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 02:35:38 +08:00
refs #247 CPropertyIndexVariantMap::addValue needs a QVariant overload to avoid selecting the template overload which would create a variant containing a variant.
This commit is contained in:
@@ -52,6 +52,9 @@ namespace BlackMisc
|
|||||||
//! Add a value
|
//! Add a value
|
||||||
void addValue(const CPropertyIndex &index, const QVariant &value);
|
void addValue(const CPropertyIndex &index, const QVariant &value);
|
||||||
|
|
||||||
|
//! Add a value
|
||||||
|
void addValue(const CPropertyIndex &index, const QVariant &value) { this->addValue(index, CVariant(value)); }
|
||||||
|
|
||||||
//! Add QString as literal, disambiguate as I want to add QString
|
//! Add QString as literal, disambiguate as I want to add QString
|
||||||
void addValue(const CPropertyIndex &index, const char *str);
|
void addValue(const CPropertyIndex &index, const char *str);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user