[libcalamaresui] Apply newer clang-formatting

This commit is contained in:
Adriaan de Groot 2024-04-17 10:51:25 +02:00
parent 4625208ba2
commit 8408a3284b
2 changed files with 3 additions and 4 deletions

View File

@ -14,7 +14,7 @@
#ifdef WITH_PYBIND11 #ifdef WITH_PYBIND11
#include "python/PythonJob.h" #include "python/PythonJob.h"
using JobType = Calamares::Python::Job; using JobType = Calamares::Python::Job;
#elif defined(WITH_BOOST_PYTHON) #elif defined( WITH_BOOST_PYTHON )
// Old Boost::Python version // Old Boost::Python version
#include "PythonJob.h" #include "PythonJob.h"
using JobType = Calamares::PythonJob; using JobType = Calamares::PythonJob;

View File

@ -73,9 +73,8 @@ ExecutionViewStep::ExecutionViewStep( QObject* parent )
{ {
m_widget->setObjectName( "slideshow" ); m_widget->setObjectName( "slideshow" );
m_progressBar->setObjectName( "exec-progress" ); m_progressBar->setObjectName( "exec-progress" );
CALAMARES_RETRANSLATE( CALAMARES_RETRANSLATE( m_progressBar->setFormat(
m_progressBar->setFormat( tr( "%p%", "Progress percentage indicator: %p is where the number 0..100 is placed" ) ); tr( "%p%", "Progress percentage indicator: %p is where the number 0..100 is placed" ) ); );
);
m_label->setObjectName( "exec-message" ); m_label->setObjectName( "exec-message" );
QVBoxLayout* layout = new QVBoxLayout( m_widget ); QVBoxLayout* layout = new QVBoxLayout( m_widget );