mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 10:25:36 -04:00
Remember QPersistentModelIndex rather than row for hover effect.
This commit is contained in:
parent
36f30b1ede
commit
c2cb367753
2 changed files with 10 additions and 9 deletions
|
@ -72,7 +72,7 @@ private:
|
|||
QModelIndex index;
|
||||
};
|
||||
inline QPair< QVector< Item >, qreal > computeItemsVector( const QModelIndex& parent ) const;
|
||||
int m_hoveredRow;
|
||||
QPersistentModelIndex m_hoveredIndex;
|
||||
};
|
||||
|
||||
#endif /* PARTITIONPREVIEW_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue