From 1c0a5ea334a5e5121e6ddaa9897819d3869e50ce Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Thu, 11 Jun 2015 18:52:20 +0200 Subject: [PATCH] Try to fix build with GCC 4.8.4. CAL-236 #comment Please test with current master. --- src/calamares/CalamaresWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calamares/CalamaresWindow.cpp b/src/calamares/CalamaresWindow.cpp index c9f4df35b..28d62a7eb 100644 --- a/src/calamares/CalamaresWindow.cpp +++ b/src/calamares/CalamaresWindow.cpp @@ -101,14 +101,14 @@ CalamaresWindow::CalamaresWindow( QWidget* parent ) debugWindowBtn->setFlat( true ); debugWindowBtn->setCheckable( true ); connect( debugWindowBtn, &QPushButton::clicked, - [ this, debugWindowBtn ]( bool checked ) + this, [ = ]( bool checked ) { if ( checked ) { m_debugWindow = new Calamares::DebugWindow(); m_debugWindow->show(); connect( m_debugWindow, &Calamares::DebugWindow::closed, - [ this, debugWindowBtn ] + this, [ = ] { m_debugWindow->deleteLater(); debugWindowBtn->setChecked( false );