diff main/MainWindow.cpp @ 195:61bf55e80080

...
author Chris Cannam
date Thu, 18 Oct 2007 09:36:05 +0000
parents c851c49c79fe
children c08c312b2399
line wrap: on
line diff
--- a/main/MainWindow.cpp	Wed Oct 17 12:58:45 2007 +0000
+++ b/main/MainWindow.cpp	Thu Oct 18 09:36:05 2007 +0000
@@ -3077,36 +3077,36 @@
 
     if (mode == ReplaceCurrentPane) {
 
-        std::cerr << "replace current pane" << std::endl;
+//        std::cerr << "replace current pane" << std::endl;
 
         Pane *pane = m_paneStack->getCurrentPane();
         if (pane) {
-            std::cerr << "have pane" << std::endl;
+//            std::cerr << "have pane" << std::endl;
 
             if (getMainModel()) {
-                std::cerr << "have main model" << std::endl;
+//                std::cerr << "have main model" << std::endl;
 
                 View::ModelSet models(pane->getModels());
                 if (models.find(getMainModel()) != models.end()) {
-                    std::cerr << "main model is in pane, setting to ReplaceMainModel" << std::endl;
+//                    std::cerr << "main model is in pane, setting to ReplaceMainModel" << std::endl;
                     mode = ReplaceMainModel;
                 }
             } else {
-                std::cerr << "no main model, setting to ReplaceMainModel" << std::endl;
+//                std::cerr << "no main model, setting to ReplaceMainModel" << std::endl;
                 mode = ReplaceMainModel;
             }
         } else {
-            std::cerr << "no pane, setting to CreateAdditionalModel" << std::endl;
+//            std::cerr << "no pane, setting to CreateAdditionalModel" << std::endl;
             mode = CreateAdditionalModel;
         }
     }
 
     if (mode == CreateAdditionalModel && !getMainModel()) {
-        std::cerr << "mode is CreateAdditionalModel and no main model, setting to ReplaceMainModel" << std::endl;
+//        std::cerr << "mode is CreateAdditionalModel and no main model, setting to ReplaceMainModel" << std::endl;
         mode = ReplaceMainModel;
     }
 
-    std::cerr << "mode now " << mode << std::endl;
+//    std::cerr << "mode now " << mode << std::endl;
 
     if (mode == ReplaceMainModel) {