diff panned.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 b0a90ac84b8b
children 16ceeee30e2a
line wrap: on
line diff
--- a/panned.cpp	Mon Nov 29 20:58:50 2010 +0000
+++ b/panned.cpp	Tue Nov 30 11:17:30 2010 +0000
@@ -16,6 +16,7 @@
 */
 
 #include "panned.h"
+#include "debug.h"
 
 #include <QScrollBar>
 #include <QWheelEvent>
@@ -31,6 +32,8 @@
 void
 Panned::resizeEvent(QResizeEvent *ev)
 {
+    DEBUG << "Panned::resizeEvent()" << endl;
+
     QPointF nearpt = mapToScene(0, 0);
     QPointF farpt = mapToScene(width(), height());
     QSizeF sz(farpt.x()-nearpt.x(), farpt.y()-nearpt.y());