mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-23 02:15:44 -05:00
[partition] Initialize m_isEfi just once
Initialize once, instead of initializing to a default value and then assigning something a moment later.
This commit is contained in:
parent
a192673704
commit
b865a99151
1 changed files with 1 additions and 3 deletions
|
@ -60,10 +60,8 @@ PartitionPage::PartitionPage( PartitionCoreModule* core, QWidget* parent )
|
|||
, m_ui( new Ui_PartitionPage )
|
||||
, m_core( core )
|
||||
, m_lastSelectedBootLoaderIndex( -1 )
|
||||
, m_isEfi( false )
|
||||
, m_isEfi( PartUtils::isEfiSystem() )
|
||||
{
|
||||
m_isEfi = PartUtils::isEfiSystem();
|
||||
|
||||
m_ui->setupUi( this );
|
||||
m_ui->partitionLabelsView->setVisible(
|
||||
Calamares::JobQueue::instance()->globalStorage()->value( "alwaysShowPartitionLabels" ).toBool() );
|
||||
|
|
Loading…
Add table
Reference in a new issue