[libcalamaresui] Simplify retranslation

- Use any object method to connect() to
This commit is contained in:
Adriaan de Groot 2019-08-29 15:01:41 +02:00
parent f1971eed86
commit 1cde8c20df

View File

@ -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 );