[packagechooser,netinstall] Apply coding style

This commit is contained in:
Adriaan de Groot 2022-01-31 23:41:48 +01:00
parent ffeab32403
commit e9899d0345
3 changed files with 4 additions and 4 deletions

View File

@ -63,7 +63,7 @@ public:
* Individual packages will not be matched.
*
*/
void setSelections(const QStringList &selectNames );
void setSelections( const QStringList& selectNames );
PackageTreeItem::List getPackages() const;
PackageTreeItem::List getItemPackages( PackageTreeItem* item ) const;
@ -79,7 +79,7 @@ public:
* data is pruned first
*
*/
void appendModelData(const QVariantList& groupList);
void appendModelData( const QVariantList& groupList );
private:
friend class ItemTests;

View File

@ -410,7 +410,7 @@ ItemTests::testUrlFallback()
QEventLoop loop;
connect( &c, &Config::statusReady, &loop, &QEventLoop::quit );
QSignalSpy spy( &c, &Config::statusReady );
QTimer::singleShot( std::chrono::seconds(1), &loop, &QEventLoop::quit );
QTimer::singleShot( std::chrono::seconds( 1 ), &loop, &QEventLoop::quit );
loop.exec();
// Check it didn't time out

View File

@ -34,7 +34,7 @@ enum class PackageChooserMethod
Legacy, // use contextualprocess or other custom
Packages, // use the packages module
NetAdd, // adds packages to the netinstall module
NetSelect, // makes selections in the netinstall module
NetSelect, // makes selections in the netinstall module
};
const NamedEnumTable< PackageChooserMethod >& PackageChooserMethodNames();