[plasmalnf] Avoid use of 'uint'

This commit is contained in:
Adriaan de Groot 2018-04-09 11:39:45 -04:00
parent cb616ec1bb
commit bfb37e6b37

View File

@ -48,7 +48,7 @@ ThemeWidget::ThemeWidget(const ThemeInfo& info, QWidget* parent)
// Not found or not specified, so convert the name into some (horrible, likely) // Not found or not specified, so convert the name into some (horrible, likely)
// color instead. // color instead.
image = QPixmap( image_size ); image = QPixmap( image_size );
uint hash_color = qHash( info.imagePath.isEmpty() ? info.id : info.imagePath ); auto hash_color = qHash( info.imagePath.isEmpty() ? info.id : info.imagePath );
cDebug() << "Theme image" << info.imagePath << "not found, hash" << hash_color; cDebug() << "Theme image" << info.imagePath << "not found, hash" << hash_color;
image.fill( QColor( QRgb( hash_color ) ) ); image.fill( QColor( QRgb( hash_color ) ) );
} }