diff layer/ImageLayer.cpp @ 320:984c1975f1ff

* Some tidying up to handling of alignment; add alignment status label to pane; ensure alignment when dragging with mouse as well as when playing
author Chris Cannam
date Thu, 25 Oct 2007 14:32:23 +0000
parents e9fe3923bdf4
children 07aa52466142
line wrap: on
line diff
--- a/layer/ImageLayer.cpp	Mon Oct 22 14:24:31 2007 +0000
+++ b/layer/ImageLayer.cpp	Thu Oct 25 14:32:23 2007 +0000
@@ -64,20 +64,7 @@
     if (m_model == model) return;
     m_model = model;
 
-    connect(m_model, SIGNAL(modelChanged()),
-            this, SIGNAL(modelChanged()));
-    connect(m_model, SIGNAL(modelChanged(size_t, size_t)),
-	    this, SIGNAL(modelChanged(size_t, size_t)));
-
-    connect(m_model, SIGNAL(completionChanged()),
-	    this, SIGNAL(modelCompletionChanged()));
-
-//    connect(m_model, SIGNAL(modelChanged()),
-//            this, SLOT(checkAddRemotes()));
-
-//    std::cerr << "ImageLayer::setModel(" << model << ")" << std::endl;
-
-//    checkAddRemotes();
+    connectSignals(m_model);
 
     emit modelReplaced();
 }