Commit 8dd52f5d authored by Philip Müller's avatar Philip Müller

[MhwdModule] fix button reverts

parent d197aaef
...@@ -71,17 +71,17 @@ MhwdModule::MhwdModule( QWidget* parent, const QVariantList& args ) : ...@@ -71,17 +71,17 @@ MhwdModule::MhwdModule( QWidget* parent, const QVariantList& args ) :
ui->buttonInstallNonFree->setText( MhwdCommon::getButtonNonFreeText() ); ui->buttonInstallNonFree->setText( MhwdCommon::getButtonNonFreeText() );
// Connect signals and slots // Connect signals and slots
connect( ui->buttonInstallFree, &QLabel::linkActivated, connect( ui->buttonInstallFree, &QPushButton::clicked,
[=] ( const QString& link ) [=] ( bool checked )
{ {
Q_UNUSED( link ) Q_UNUSED( checked )
MhwdCommon::installFreeConfiguration( ); MhwdCommon::installFreeConfiguration( );
load(); load();
} ); } );
connect( ui->buttonInstallNonFree, &QLabel::linkActivated, connect( ui->buttonInstallNonFree, &QPushButton::clicked,
[=] ( const QString& link ) [=] ( bool checked )
{ {
Q_UNUSED( link ) Q_UNUSED( checked )
MhwdCommon::installNonFreeConfiguration( ); MhwdCommon::installNonFreeConfiguration( );
load(); load();
} ); } );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment