Janitor: Several code hygiene adjustments (#9981)

* Include all libraries in APP_FWK_LIBRARIES
* Several fixes detected by Static Code Analysis
* Remove unused code
* Add .clang.tidy
* Use QElapsedTimer
* Use horizontalAdvance
* Avoid | between enum of different classes
* Avoid illegal character
* Renaming and reorder of constructor initialization
This commit is contained in:
Magne Sjaastad
2023-03-23 15:49:06 +01:00
committed by GitHub
parent 2abfd08bd9
commit d23c6b4bb6
34 changed files with 114 additions and 124 deletions

View File

@@ -66,8 +66,8 @@ IconProvider::IconProvider( const QString& iconResourceString, const QSize& pref
//--------------------------------------------------------------------------------------------------
caf::IconProvider::IconProvider( const QPixmap& pixmap )
: m_active( true )
, m_pixmap( new QPixmap( pixmap ) )
, m_preferredSize( pixmap.size() )
, m_pixmap( new QPixmap( pixmap ) )
{
}