[glom/maemo5] Removed debug output.



commit 9f3c28c0c9e2a8a12a6d5e8a5f792df8b987ac80
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Oct 2 18:31:08 2009 +0200

    Removed debug output.

 glom/libglom/document/document.cc |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/glom/libglom/document/document.cc b/glom/libglom/document/document.cc
index 75aab76..8be87b9 100644
--- a/glom/libglom/document/document.cc
+++ b/glom/libglom/document/document.cc
@@ -4123,11 +4123,8 @@ void Document::maemo_restrict_layouts_to_single_column_group(const sharedptr<Lay
     return;
 
   //Change it to a single column group:
-  if(layout_group->get_columns_count() > 1)
-  {     
+  if(layout_group->get_columns_count() > 1)  
     layout_group->set_columns_count(1);
-    std::cout << "  debug: changed group columns=" << layout_group->get_columns_count() << std::endl;
-  }
      
   //Do the same with any child groups:
   for(LayoutGroup::type_list_items::iterator iter = layout_group->m_list_items.begin(); iter != layout_group->m_list_items.end(); ++iter)
@@ -4153,8 +4150,7 @@ void Document::maemo_restrict_layouts_to_single_column()
       iterLayouts != info.m_layouts.end(); ++iterLayouts)
     {
       LayoutInfo& layout_info = *iterLayouts;
-      std::cout << "debug: layout: " << layout_info.m_layout_name << std::endl;
-      
+
       //Allow specifically-designed maemo layouts to have multiple columns,
       //but resize the others.
       if(true)//layout_info.m_layout_platform != "maemo")



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]