[machineid][hostinfo] Reduce warnings
- stray ; - clang-tidy had re-ordered the moc-warnings.h header, needs to go **before** the .moc so split into its own group
This commit is contained in:
parent
bd5b63b02e
commit
8b4bd52a26
@ -65,5 +65,6 @@ HostInfoTests::testHostOS()
|
|||||||
|
|
||||||
QTEST_GUILESS_MAIN( HostInfoTests )
|
QTEST_GUILESS_MAIN( HostInfoTests )
|
||||||
|
|
||||||
#include "Tests.moc"
|
|
||||||
#include "utils/moc-warnings.h"
|
#include "utils/moc-warnings.h"
|
||||||
|
|
||||||
|
#include "Tests.moc"
|
||||||
|
@ -104,5 +104,6 @@ MachineIdTests::testPoolSize()
|
|||||||
|
|
||||||
QTEST_GUILESS_MAIN( MachineIdTests )
|
QTEST_GUILESS_MAIN( MachineIdTests )
|
||||||
|
|
||||||
#include "Tests.moc"
|
|
||||||
#include "utils/moc-warnings.h"
|
#include "utils/moc-warnings.h"
|
||||||
|
|
||||||
|
#include "Tests.moc"
|
||||||
|
@ -192,7 +192,7 @@ createDBusMachineId( const QString& rootMountPoint, const QString& fileName )
|
|||||||
Calamares::JobResult
|
Calamares::JobResult
|
||||||
createDBusLink( const QString& rootMountPoint, const QString& fileName, const QString& systemdFileName )
|
createDBusLink( const QString& rootMountPoint, const QString& fileName, const QString& systemdFileName )
|
||||||
{
|
{
|
||||||
Q_UNUSED( rootMountPoint );
|
Q_UNUSED( rootMountPoint )
|
||||||
return runCmd( QStringList { QStringLiteral( "ln" ), QStringLiteral( "-s" ), systemdFileName, fileName } );
|
return runCmd( QStringList { QStringLiteral( "ln" ), QStringLiteral( "-s" ), systemdFileName, fileName } );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user