From 8408a3284b961069d2696eafb60abd0cbdfde617 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Wed, 17 Apr 2024 10:51:25 +0200 Subject: [PATCH] [libcalamaresui] Apply newer clang-formatting --- src/libcalamaresui/modulesystem/PythonJobModule.cpp | 2 +- src/libcalamaresui/viewpages/ExecutionViewStep.cpp | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/libcalamaresui/modulesystem/PythonJobModule.cpp b/src/libcalamaresui/modulesystem/PythonJobModule.cpp index bd406fd21..d9ae7f115 100644 --- a/src/libcalamaresui/modulesystem/PythonJobModule.cpp +++ b/src/libcalamaresui/modulesystem/PythonJobModule.cpp @@ -14,7 +14,7 @@ #ifdef WITH_PYBIND11 #include "python/PythonJob.h" using JobType = Calamares::Python::Job; -#elif defined(WITH_BOOST_PYTHON) +#elif defined( WITH_BOOST_PYTHON ) // Old Boost::Python version #include "PythonJob.h" using JobType = Calamares::PythonJob; diff --git a/src/libcalamaresui/viewpages/ExecutionViewStep.cpp b/src/libcalamaresui/viewpages/ExecutionViewStep.cpp index cce87ebe5..71ea85b8e 100644 --- a/src/libcalamaresui/viewpages/ExecutionViewStep.cpp +++ b/src/libcalamaresui/viewpages/ExecutionViewStep.cpp @@ -73,9 +73,8 @@ ExecutionViewStep::ExecutionViewStep( QObject* parent ) { m_widget->setObjectName( "slideshow" ); m_progressBar->setObjectName( "exec-progress" ); - CALAMARES_RETRANSLATE( - m_progressBar->setFormat( tr( "%p%", "Progress percentage indicator: %p is where the number 0..100 is placed" ) ); - ); + CALAMARES_RETRANSLATE( m_progressBar->setFormat( + tr( "%p%", "Progress percentage indicator: %p is where the number 0..100 is placed" ) ); ); m_label->setObjectName( "exec-message" ); QVBoxLayout* layout = new QVBoxLayout( m_widget );