mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-23 05:45:35 +08:00
Issue #77 toIcon returns a simple enum instead of a full object
This commit is contained in:
@@ -156,7 +156,7 @@ namespace BlackMisc
|
||||
bool isValid() const;
|
||||
|
||||
//! \copydoc BlackMisc::Mixin::Icon::toIcon()
|
||||
CIcon toIcon() const { return convertToIcon(*this); }
|
||||
CIcons::IconIndex toIcon() const { return convertToIcon(*this).getIndex(); }
|
||||
|
||||
//! \copydoc BlackMisc::Mixin::Index::propertyByIndex
|
||||
CVariant propertyByIndex(const CPropertyIndex &index) const;
|
||||
|
||||
Reference in New Issue
Block a user