~ubuntu-sdk-team/qtcreator-plugin-remotelinux/trunk

« back to all changes in this revision

Viewing changes to src/valgrind/memcheckerrorview.cpp

  • Committer: CI bot
  • Author(s): Benjamin Zeller
  • Date: 2014-06-16 10:28:43 UTC
  • mfrom: (4.2.4 remotelinux)
  • Revision ID: ps-jenkins@lists.canonical.com-20140616102843-8juvmjvzwlzsboyw
Migrating to Qt5.3 and QtC 3.1 

Show diffs side-by-side

added added

removed removed

Lines of Context:
198
198
static QString errorLocation(const QModelIndex &index, const Error &error,
199
199
                      bool link = false, const QString &linkAttr = QString())
200
200
{
 
201
    if (!index.isValid())
 
202
        return QString();
201
203
    const ErrorListModel *model = 0;
202
204
    const QAbstractProxyModel *proxy = qobject_cast<const QAbstractProxyModel *>(index.model());
203
205
    while (!model && proxy) {