mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 11:55:35 +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
|
||||
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
|
||||
void addValue(const CPropertyIndex &index, const char *str);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user