summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-06-14 07:41:31 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-06-14 07:41:31 (GMT)
commitc9faca51a25a27f58e03982319951b5f6a600ffe (patch)
tree4176b7d55f1b0ef7ca22012132707e4929df4f7c
parent38b9476058784eb8dd3d010b67ff1b9a5d63663c (diff)
downloadswift-c9faca51a25a27f58e03982319951b5f6a600ffe.zip
swift-c9faca51a25a27f58e03982319951b5f6a600ffe.tar.bz2
Compiler warning
-rw-r--r--Swift/QtUI/Roster/GroupItemDelegate.cpp4
1 files changed, 2 insertions, 2 deletions
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;