From dbce446f8176adb49e1e4a892781a812be43f2f7 Mon Sep 17 00:00:00 2001 From: auria Date: Sat, 8 May 2010 17:47:12 +0000 Subject: [PATCH] Minor refactoring git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5412 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/guiengine/widgets/dynamic_ribbon_widget.cpp | 10 +++++----- src/guiengine/widgets/dynamic_ribbon_widget.hpp | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/guiengine/widgets/dynamic_ribbon_widget.cpp b/src/guiengine/widgets/dynamic_ribbon_widget.cpp index 9bad21c4d..b38e8c154 100644 --- a/src/guiengine/widgets/dynamic_ribbon_widget.cpp +++ b/src/guiengine/widgets/dynamic_ribbon_widget.cpp @@ -178,12 +178,12 @@ void DynamicRibbonWidget::add() //std::cout << "ribbon : getNewID returns " << m_ids[i] << std::endl; } - setSubElements(); + buildInternalStructure(); } // ----------------------------------------------------------------------------- -void DynamicRibbonWidget::setSubElements() +void DynamicRibbonWidget::buildInternalStructure() { - //printf("****DynamicRibbonWidget::setSubElements()****\n"); + //printf("****DynamicRibbonWidget::buildInternalStructure()****\n"); // ---- Clean-up what was previously there for (int i=0; i