Try to fix build with GCC 4.8.4.

CAL-236 #comment Please test with current master.
This commit is contained in:
Teo Mrnjavac 2015-06-11 18:52:20 +02:00
parent ff1c95fb45
commit 1c0a5ea334

View File

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