mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
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:
@@ -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 ) )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user