[libcalamaresui] Simplify retranslation
- Use any object method to connect() to
This commit is contained in:
parent
f1971eed86
commit
1cde8c20df
@ -112,7 +112,7 @@ ViewManager::ViewManager( QObject* parent )
|
|||||||
m_next = makeButton( m_widget, "go-next" );
|
m_next = makeButton( m_widget, "go-next" );
|
||||||
m_quit = makeButton( m_widget, "dialog-cancel" );
|
m_quit = makeButton( m_widget, "dialog-cancel" );
|
||||||
|
|
||||||
CALAMARES_RETRANSLATE( updateButtonLabels(); )
|
CALAMARES_RETRANSLATE_SLOT( &ViewManager::updateButtonLabels )
|
||||||
|
|
||||||
QBoxLayout* bottomLayout = new QHBoxLayout;
|
QBoxLayout* bottomLayout = new QHBoxLayout;
|
||||||
mainLayout->addLayout( bottomLayout );
|
mainLayout->addLayout( bottomLayout );
|
||||||
|
Loading…
Reference in New Issue
Block a user