mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 01:45:36 -04:00
Use Retranslator in Prepare module (partial).
This commit is contained in:
parent
e5ac1a5c4f
commit
9b2dfdf1ec
2 changed files with 19 additions and 11 deletions
|
@ -24,6 +24,7 @@
|
|||
#include "widgets/WaitingWidget.h"
|
||||
#include "utils/CalamaresUtilsGui.h"
|
||||
#include "utils/Logger.h"
|
||||
#include "utils/Retranslator.h"
|
||||
#include "JobQueue.h"
|
||||
#include "GlobalStorage.h"
|
||||
|
||||
|
@ -47,8 +48,9 @@ PrepareViewStep::PrepareViewStep( QObject* parent )
|
|||
m_widget->setLayout( mainLayout );
|
||||
CalamaresUtils::unmarginLayout( mainLayout );
|
||||
|
||||
QWidget* waitingWidget = new WaitingWidget( tr( "Gathering system information..." ) );
|
||||
WaitingWidget* waitingWidget = new WaitingWidget( QString() );
|
||||
mainLayout->addWidget( waitingWidget );
|
||||
CALAMARES_RETRANSLATE( waitingWidget->setText( tr( "Gathering system information..." ) ); )
|
||||
|
||||
QTimer* timer = new QTimer;
|
||||
timer->setSingleShot( true );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue