Try to fix build with GCC 4.8.4.

CAL-236 #comment Please test with current master.
main
Teo Mrnjavac 10 years ago
parent ff1c95fb45
commit 1c0a5ea334

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

Loading…
Cancel
Save