comparison panner.cpp @ 131:2550aaa09240

* Add connecting line to uncommitted item; turn Revert icon blue; cut down menus to things that actually work (well, mostly)
author Chris Cannam
date Tue, 30 Nov 2010 11:17:30 +0000
parents 5fc7b4fc77a8
children 16ceeee30e2a
comparison
equal deleted inserted replaced
130:9ae4cc0055e8 131:2550aaa09240
160 QGraphicsItem *items[], 160 QGraphicsItem *items[],
161 const QStyleOptionGraphicsItem options[]) 161 const QStyleOptionGraphicsItem options[])
162 { 162 {
163 if (m_cache.size() != viewport()->size()) { 163 if (m_cache.size() != viewport()->size()) {
164 164
165 DEBUG << "Panner: recreating cache" << endl; 165 DEBUG << "Panner: cache size " << m_cache.size() << " != viewport size " << viewport()->size() << ": recreating cache" << endl;
166 166
167 QGraphicsScene *s = scene(); 167 QGraphicsScene *s = scene();
168 if (!s) return; 168 if (!s) return;
169 PannerScene *ps = static_cast<PannerScene *>(s); 169 PannerScene *ps = static_cast<PannerScene *>(s);
170 170