Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/scripttools/debugging/qscriptdebuggerlocalswidget.cpp

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    7171    bool hasChildren(const QModelIndex &parent) const
    7272    {
     73        if (!sourceModel())
     74            return false;
    7375        QModelIndex sourceParent = mapToSource(parent);
    7476        if (parent.isValid() && !sourceParent.isValid())
     
    185187void QScriptDebuggerLocalsWidgetPrivate::_q_expandIndex(const QModelIndex &index)
    186188{
    187     view->expand(proxy->mapFromSource(index));
     189    if (view->model() == index.model())
     190        view->expand(proxy->mapFromSource(index));
    188191}
    189192
Note: See TracChangeset for help on using the changeset viewer.