~ubuntu-branches/ubuntu/lucid/mythtv/lucid

« back to all changes in this revision

Viewing changes to libs/libmythui/mythgenerictree.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Mario Limonciello
  • Date: 2009-09-08 23:08:37 UTC
  • mfrom: (1.1.32 upstream)
  • Revision ID: james.westby@ubuntu.com-20090908230837-zrm2j6wutp76hwso
Tags: 0.22.0~trunk21742-0ubuntu1
* New upstream checkout (21742)
  - Fixes FTBFS on PPC. See changeset 21571 for more details.

Show diffs side-by-side

added added

removed removed

Lines of Context:
176
176
int MythGenericTree::calculateDepth(int start)
177
177
{
178
178
    int current_depth;
179
 
    int found_depth;
180
179
    current_depth = start + 1;
181
180
 
182
181
    QList<MythGenericTree*> *children = getAllChildren();
183
182
    if (children && children->count() > 0)
184
183
    {
 
184
        int found_depth;
185
185
        SortableMythGenericTreeList::Iterator it;
186
186
        MythGenericTree *child = NULL;
187
187