comparison changesetdetailitem.cpp @ 128:fcaf09ee825d

* Show tags and current working copy parents in history graph
author Chris Cannam
date Mon, 29 Nov 2010 20:09:58 +0000
parents 63c2f3f61c79
children 8fd71f570884
comparison
equal deleted inserted replaced
127:758471b71721 128:fcaf09ee825d
56 { 56 {
57 paint->save(); 57 paint->save();
58 58
59 ColourSet *colourSet = ColourSet::instance(); 59 ColourSet *colourSet = ColourSet::instance();
60 QColor branchColour = colourSet->getColourFor(m_changeset->branch()); 60 QColor branchColour = colourSet->getColourFor(m_changeset->branch());
61 QColor userColour = colourSet->getColourFor(m_changeset->user()); 61 QColor userColour = colourSet->getColourFor(m_changeset->author());
62 62
63 QFont f(m_font); 63 QFont f(m_font);
64 64
65 QTransform t = paint->worldTransform(); 65 QTransform t = paint->worldTransform();
66 float scale = std::min(t.m11(), t.m22()); 66 float scale = std::min(t.m11(), t.m22());