[calamares] Apply newer clang-formatting
This commit is contained in:
parent
8408a3284b
commit
df09d7ae89
@ -42,7 +42,7 @@
|
|||||||
static void
|
static void
|
||||||
crash()
|
crash()
|
||||||
{
|
{
|
||||||
kill(getpid(), SIGTRAP);
|
kill( getpid(), SIGTRAP );
|
||||||
}
|
}
|
||||||
|
|
||||||
/// @brief Print out the widget tree (names) in indented form.
|
/// @brief Print out the widget tree (names) in indented form.
|
||||||
|
@ -560,10 +560,13 @@ main( int argc, char* argv[] )
|
|||||||
cDebug() << Logger::SubEntry << "Module metadata" << TR( "name", m->name() ) << TR( "type", m->typeString() )
|
cDebug() << Logger::SubEntry << "Module metadata" << TR( "name", m->name() ) << TR( "type", m->typeString() )
|
||||||
<< TR( "interface", m->interfaceString() );
|
<< 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); });
|
QObject::connect( Calamares::JobQueue::instance(),
|
||||||
QTimer::singleShot(0, []() { Calamares::JobQueue::instance()->start(); });
|
&Calamares::JobQueue::finished,
|
||||||
|
[ application ]()
|
||||||
|
{ QTimer::singleShot( std::chrono::seconds( 3 ), application, &QApplication::quit ); } );
|
||||||
|
QTimer::singleShot( 0, []() { Calamares::JobQueue::instance()->start(); } );
|
||||||
|
|
||||||
return application->exec();
|
return application->exec();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user