From bfb37e6b374350dba5d0cbe07db65103c0f7ed3f Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Mon, 9 Apr 2018 11:39:45 -0400 Subject: [PATCH] [plasmalnf] Avoid use of 'uint' --- src/modules/plasmalnf/ThemeWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/plasmalnf/ThemeWidget.cpp b/src/modules/plasmalnf/ThemeWidget.cpp index 6f0cc5fdb..6a09dceb9 100644 --- a/src/modules/plasmalnf/ThemeWidget.cpp +++ b/src/modules/plasmalnf/ThemeWidget.cpp @@ -48,7 +48,7 @@ ThemeWidget::ThemeWidget(const ThemeInfo& info, QWidget* parent) // Not found or not specified, so convert the name into some (horrible, likely) // color instead. 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; image.fill( QColor( QRgb( hash_color ) ) ); }