mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 16:55:36 +08:00
Issue #77 toIcon returns a simple enum instead of a full object
This commit is contained in:
@@ -77,7 +77,7 @@ namespace BlackMisc
|
||||
void setRestricted(bool r) { m_restricted = r; }
|
||||
|
||||
//! Get the restrict icon
|
||||
CIcon getRestrictionIcon() const;
|
||||
CIcons::IconIndex getRestrictionIcon() const;
|
||||
|
||||
//! "this" having same or better stability than other distribution?
|
||||
bool isStabilitySameOrBetter(const CDistribution &otherDistribution) const;
|
||||
@@ -95,7 +95,7 @@ namespace BlackMisc
|
||||
QString convertToQString(const QString &separator, bool i18n = false) const;
|
||||
|
||||
//! Representing icon
|
||||
CIcon toIcon() const;
|
||||
CIcons::IconIndex toIcon() const;
|
||||
|
||||
//! \copydoc BlackMisc::Mixin::Index::propertyByIndex
|
||||
CVariant propertyByIndex(const CPropertyIndex &index) const;
|
||||
|
||||
Reference in New Issue
Block a user