changeset 205:0511f41a7ba7

* Add auto-alignment toggle to Document * Make MainWindowBase cope if there is no time ruler layer
author Chris Cannam
date Thu, 25 Oct 2007 11:32:54 +0000
parents 688604a2c038
children b4167bb2d2d4
files main/MainWindow.cpp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/main/MainWindow.cpp	Wed Oct 24 16:43:20 2007 +0000
+++ b/main/MainWindow.cpp	Thu Oct 25 11:32:54 2007 +0000
@@ -159,7 +159,7 @@
 
     QGridLayout *layout = new QGridLayout;
 
-    m_descriptionLabel = new QLabel;
+    m_descriptionLabel = new QLabel; //!!! hang on, this is declared in base class -- should be declared and initialised by same class
 
     QScrollArea *scroll = new QScrollArea(frame);
     scroll->setWidgetResizable(true);
@@ -2763,6 +2763,7 @@
         SliceableLayer *source = dynamic_cast<SliceableLayer *>(ei->second);
         SliceLayer *dest = dynamic_cast<SliceLayer *>(newLayer);
         if (source && dest) {
+            //!!!???
             dest->setSliceableModel(source->getSliceableModel());
             connect(source, SIGNAL(sliceableModelReplaced(const Model *, const Model *)),
                     dest, SLOT(sliceableModelReplaced(const Model *, const Model *)));