Mercurial > hg > easyhg
diff historywidget.cpp @ 119:005a54380502
* Make scene remember which item has its details showing, and remove the previous one when a new one is clicked
author | Chris Cannam |
---|---|
date | Sun, 28 Nov 2010 21:52:00 +0000 |
parents | 807c79350bf1 |
children | c92f5859c707 |
line wrap: on
line diff
--- a/historywidget.cpp Fri Nov 26 23:49:48 2010 +0000 +++ b/historywidget.cpp Sun Nov 28 21:52:00 2010 +0000 @@ -17,6 +17,7 @@ #include "historywidget.h" +#include "changesetscene.h" #include "panned.h" #include "panner.h" #include "grapher.h" @@ -53,7 +54,7 @@ void HistoryWidget::parseLog(QString log) { - QGraphicsScene *scene = new QGraphicsScene(); + ChangesetScene *scene = new ChangesetScene(); Changesets csets = parseChangeSets(log); ChangesetItem *tipItem = 0;