# HG changeset patch # User Chris Cannam # Date 1193311974 0 # Node ID 0511f41a7ba7e1595cdd7a51babdbdfb926c1177 # Parent 688604a2c0381fd20f51e5e5fe5e8aedb26164e7 * Add auto-alignment toggle to Document * Make MainWindowBase cope if there is no time ruler layer diff -r 688604a2c038 -r 0511f41a7ba7 main/MainWindow.cpp --- 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(ei->second); SliceLayer *dest = dynamic_cast(newLayer); if (source && dest) { + //!!!??? dest->setSliceableModel(source->getSliceableModel()); connect(source, SIGNAL(sliceableModelReplaced(const Model *, const Model *)), dest, SLOT(sliceableModelReplaced(const Model *, const Model *)));