mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 09:55:37 -04:00
Allow hiding extended partition in Labels view.
This commit is contained in:
parent
93bebfd3e4
commit
b374404c6f
2 changed files with 13 additions and 1 deletions
|
@ -55,6 +55,8 @@ public:
|
|||
|
||||
void setSelectionFilter( SelectionFilter canBeSelected );
|
||||
|
||||
void setExtendedPartitionHidden( bool hidden );
|
||||
|
||||
protected:
|
||||
// QAbstractItemView API
|
||||
QRegion visualRegionForSelection( const QItemSelection& selection ) const override;
|
||||
|
@ -82,6 +84,7 @@ private:
|
|||
QStringList buildTexts( const QModelIndex& index ) const;
|
||||
|
||||
SelectionFilter canBeSelected;
|
||||
bool m_extendedPartitionHidden;
|
||||
|
||||
QString m_customNewRootLabel;
|
||||
QPersistentModelIndex m_hoveredIndex;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue