mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
refs #437, remove convertFromCVariant
This commit is contained in:
@@ -376,8 +376,7 @@ namespace BlackGui
|
||||
template <class ModelClass, class ContainerType, class ObjectType>
|
||||
int CViewBase<ModelClass, ContainerType, ObjectType>::performUpdateContainer(const BlackMisc::CVariant &variant, bool sort, bool resize)
|
||||
{
|
||||
ContainerType c;
|
||||
c.convertFromCVariant(variant);
|
||||
ContainerType c(variant.to<ContainerType>());
|
||||
return this->updateContainer(c, sort, resize);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user