Mercurial > hg > easyhg
comparison grapher.cpp @ 112:4bd17f36d059
* Make diff binary a settings property; some tidying
author | Chris Cannam |
---|---|
date | Fri, 26 Nov 2010 17:02:55 +0000 |
parents | 729438d70af8 |
children | bb2d2eecdd60 |
comparison
equal
deleted
inserted
replaced
111:151209bc5bd6 | 112:4bd17f36d059 |
---|---|
121 if (!m_items.contains(id)) { | 121 if (!m_items.contains(id)) { |
122 throw LayoutException(QString("Changeset %1 not in item map").arg(id)); | 122 throw LayoutException(QString("Changeset %1 not in item map").arg(id)); |
123 } | 123 } |
124 | 124 |
125 Changeset *cs = m_changesets[id]; | 125 Changeset *cs = m_changesets[id]; |
126 std::cerr << "layoutCol: Looking at " << id.toStdString() << std::endl; | 126 // std::cerr << "layoutCol: Looking at " << id.toStdString() << std::endl; |
127 | 127 |
128 ChangesetItem *item = m_items[id]; | 128 ChangesetItem *item = m_items[id]; |
129 | 129 |
130 int col = 0; | 130 int col = 0; |
131 int row = item->row(); | 131 int row = item->row(); |
178 col = findAvailableColumn(item->row(), col, false); | 178 col = findAvailableColumn(item->row(), col, false); |
179 } | 179 } |
180 break; | 180 break; |
181 } | 181 } |
182 | 182 |
183 std::cerr << "putting " << cs->id().toStdString() << " at col " << col << std::endl; | 183 // std::cerr << "putting " << cs->id().toStdString() << " at col " << col << std::endl; |
184 | 184 |
185 m_alloc[row].insert(col); | 185 m_alloc[row].insert(col); |
186 item->setColumn(col); | 186 item->setColumn(col); |
187 m_handled.insert(id); | 187 m_handled.insert(id); |
188 | 188 |