mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
refs #437, remove convertFromCVariant
This commit is contained in:
@@ -49,11 +49,7 @@ namespace BlackMisc
|
||||
|
||||
void CNameVariantPair::setPropertyByIndex(const CVariant &variant, const BlackMisc::CPropertyIndex &index)
|
||||
{
|
||||
if (index.isMyself())
|
||||
{
|
||||
this->convertFromCVariant(variant);
|
||||
return;
|
||||
}
|
||||
if (index.isMyself()) { (*this) = variant.to<CNameVariantPair>(); return; }
|
||||
ColumnIndex i = index.frontCasted<ColumnIndex>();
|
||||
|
||||
// special case, handle icon and allow to set it
|
||||
|
||||
Reference in New Issue
Block a user