mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 18:05:36 -04:00
[partition] Update waiting widget only if it (still) exists
This commit is contained in:
parent
a1690ac2d6
commit
b7a3f58df4
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ PartitionViewStep::PartitionViewStep( QObject* parent )
|
|||
|
||||
m_waitingWidget = new WaitingWidget( QString() );
|
||||
m_widget->addWidget( m_waitingWidget );
|
||||
CALAMARES_RETRANSLATE( m_waitingWidget->setText( tr( "Gathering system information..." ) ); );
|
||||
CALAMARES_RETRANSLATE( if (m_waitingWidget) { m_waitingWidget->setText( tr( "Gathering system information..." ) ); } );
|
||||
|
||||
m_core = new PartitionCoreModule( this ); // Unusable before init is complete!
|
||||
// We're not done loading, but we need the configuration map first.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue