diff --git a/src/calamares/DebugWindow.cpp b/src/calamares/DebugWindow.cpp index e27fc0a7b..51b3fcaa4 100644 --- a/src/calamares/DebugWindow.cpp +++ b/src/calamares/DebugWindow.cpp @@ -42,7 +42,7 @@ static void crash() { - kill(getpid(), SIGTRAP); + kill( getpid(), SIGTRAP ); } /// @brief Print out the widget tree (names) in indented form. diff --git a/src/calamares/testmain.cpp b/src/calamares/testmain.cpp index ad40aadfc..c25bc519c 100644 --- a/src/calamares/testmain.cpp +++ b/src/calamares/testmain.cpp @@ -560,10 +560,13 @@ main( int argc, char* argv[] ) cDebug() << Logger::SubEntry << "Module metadata" << TR( "name", m->name() ) << TR( "type", m->typeString() ) << TR( "interface", m->interfaceString() ); - Calamares::JobQueue::instance()->enqueue(100, m->jobs()); + Calamares::JobQueue::instance()->enqueue( 100, m->jobs() ); - QObject::connect(Calamares::JobQueue::instance(), &Calamares::JobQueue::finished, [application]() { QTimer::singleShot(std::chrono::seconds(3), application, &QApplication::quit); }); - QTimer::singleShot(0, []() { Calamares::JobQueue::instance()->start(); }); + QObject::connect( Calamares::JobQueue::instance(), + &Calamares::JobQueue::finished, + [ application ]() + { QTimer::singleShot( std::chrono::seconds( 3 ), application, &QApplication::quit ); } ); + QTimer::singleShot( 0, []() { Calamares::JobQueue::instance()->start(); } ); return application->exec(); }