Try to fix build with GCC 4.8.4.
CAL-236 #comment Please test with current master.
This commit is contained in:
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…
Reference in New Issue
Block a user