From c9faca51a25a27f58e03982319951b5f6a600ffe Mon Sep 17 00:00:00 2001 From: Kevin Smith Date: Mon, 14 Jun 2010 08:41:31 +0100 Subject: Compiler warning diff --git a/Swift/QtUI/Roster/GroupItemDelegate.cpp b/Swift/QtUI/Roster/GroupItemDelegate.cpp index 6f13b40..9be3c37 100644 --- a/Swift/QtUI/Roster/GroupItemDelegate.cpp +++ b/Swift/QtUI/Roster/GroupItemDelegate.cpp @@ -41,8 +41,8 @@ void GroupItemDelegate::paint(QPainter* painter, const QStyleOptionViewItem& opt painter->fillPath(fillPath, backgroundBrush); painter->drawPath(linePath); - double triangleWidth = 9; - double triangleHeight = 5; + int triangleWidth = 9; + int triangleHeight = 5; paintExpansionTriangle(painter, region.adjusted(common_.horizontalMargin + 1, 0, 0, 0), triangleWidth, triangleHeight, expanded); int textLeftOffset = 3 * common_.horizontalMargin + 1 + triangleWidth; -- cgit v0.10.2-6-g49f6