clean ups
This commit is contained in:
parent
315c0f0fc5
commit
8e2b4050e7
@ -40,8 +40,8 @@ public:
|
||||
*/
|
||||
void init( const QList< Device* >& devices );
|
||||
|
||||
int rowCount( const QModelIndex& parent = QModelIndex() ) const Q_DECL_OVERRIDE;
|
||||
QVariant data( const QModelIndex& index, int role = Qt::DisplayRole ) const Q_DECL_OVERRIDE;
|
||||
int rowCount( const QModelIndex& parent = QModelIndex() ) const override;
|
||||
QVariant data( const QModelIndex& index, int role = Qt::DisplayRole ) const override;
|
||||
|
||||
Device* deviceForIndex( const QModelIndex& index ) const;
|
||||
|
||||
|
@ -74,7 +74,7 @@ public:
|
||||
FileSystemColumn,
|
||||
MountPointColumn,
|
||||
SizeColumn,
|
||||
ColumnCount = SizeColumn + 1
|
||||
ColumnCount // Must remain last
|
||||
};
|
||||
|
||||
PartitionModel( QObject* parent = 0 );
|
||||
|
@ -42,10 +42,6 @@ public:
|
||||
explicit PartitionPage( PartitionCoreModule* core, QWidget* parent = 0 );
|
||||
~PartitionPage();
|
||||
|
||||
Q_SIGNALS:
|
||||
|
||||
public Q_SLOTS:
|
||||
|
||||
private:
|
||||
QScopedPointer< Ui_PartitionPage > m_ui;
|
||||
PartitionCoreModule* m_core;
|
||||
|
@ -31,7 +31,7 @@
|
||||
PartitionViewStep::PartitionViewStep( QObject* parent )
|
||||
: Calamares::ViewStep( parent )
|
||||
, m_core( new PartitionCoreModule( this ) )
|
||||
, m_widget( new PartitionPage( m_core ) )
|
||||
, m_page( new PartitionPage( m_core ) )
|
||||
{
|
||||
connect( m_core, SIGNAL( hasRootMountPointChanged( bool ) ),
|
||||
SIGNAL( nextStatusChanged( bool ) ) );
|
||||
@ -48,7 +48,7 @@ PartitionViewStep::prettyName() const
|
||||
QWidget*
|
||||
PartitionViewStep::widget()
|
||||
{
|
||||
return m_widget;
|
||||
return m_page;
|
||||
}
|
||||
|
||||
|
||||
|
@ -57,7 +57,7 @@ public:
|
||||
|
||||
private:
|
||||
PartitionCoreModule* m_core;
|
||||
PartitionPage* m_widget;
|
||||
PartitionPage* m_page;
|
||||
};
|
||||
|
||||
#endif // PARTITIONVIEWSTEP_H
|
||||
|
Loading…
Reference in New Issue
Block a user