Merge pull request #1575 from gportay/partition-remove-unused-attribute
[partition] Remove unused attribute m_defaultFsType
This commit is contained in:
commit
04c14419c8
@ -90,14 +90,8 @@ ChoicePage::ChoicePage( Config* config, QWidget* parent )
|
|||||||
auto gs = Calamares::JobQueue::instance()->globalStorage();
|
auto gs = Calamares::JobQueue::instance()->globalStorage();
|
||||||
|
|
||||||
m_requiredPartitionTableType = gs->value( "requiredPartitionTableType" ).toStringList();
|
m_requiredPartitionTableType = gs->value( "requiredPartitionTableType" ).toStringList();
|
||||||
m_defaultFsType = gs->value( "defaultFileSystemType" ).toString();
|
|
||||||
m_enableEncryptionWidget = gs->value( "enableLuksAutomatedPartitioning" ).toBool();
|
m_enableEncryptionWidget = gs->value( "enableLuksAutomatedPartitioning" ).toBool();
|
||||||
|
|
||||||
if ( FileSystem::typeForName( m_defaultFsType ) == FileSystem::Unknown )
|
|
||||||
{
|
|
||||||
m_defaultFsType = "ext4";
|
|
||||||
}
|
|
||||||
|
|
||||||
// Set up drives combo
|
// Set up drives combo
|
||||||
m_mainLayout->setDirection( QBoxLayout::TopToBottom );
|
m_mainLayout->setDirection( QBoxLayout::TopToBottom );
|
||||||
m_drivesLayout->setDirection( QBoxLayout::LeftToRight );
|
m_drivesLayout->setDirection( QBoxLayout::LeftToRight );
|
||||||
|
@ -155,7 +155,6 @@ private:
|
|||||||
int m_lastSelectedActionIndex = -1;
|
int m_lastSelectedActionIndex = -1;
|
||||||
|
|
||||||
QStringList m_requiredPartitionTableType;
|
QStringList m_requiredPartitionTableType;
|
||||||
QString m_defaultFsType;
|
|
||||||
bool m_enableEncryptionWidget;
|
bool m_enableEncryptionWidget;
|
||||||
|
|
||||||
QMutex m_coreMutex;
|
QMutex m_coreMutex;
|
||||||
|
Loading…
Reference in New Issue
Block a user