mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-23 10:22:55 +00:00
const-ify the return type of QOutlineMapper::elementTypes()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
4ce6c69719
commit
bcdc1fd136
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ public:
|
|||
QT_FT_Outline *convertPath(const QPainterPath &path);
|
||||
QT_FT_Outline *convertPath(const QVectorPath &path);
|
||||
|
||||
inline QPainterPath::ElementType *elementTypes() const { return m_element_types.size() == 0 ? 0 : m_element_types.data(); }
|
||||
inline const QPainterPath::ElementType *elementTypes() const { return m_element_types.size() == 0 ? 0 : m_element_types.data(); }
|
||||
|
||||
public:
|
||||
QDataBuffer<QPainterPath::ElementType> m_element_types;
|
||||
|
|
Loading…
Add table
Reference in a new issue