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/tools/designer/src/lib/shared/qtresourceview.cpp

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation ([email protected])
     
    382382        return;
    383383
    384     const QString root(QLatin1Char(':'));
     384    // Resource root up until 4.6 was ':', changed to ":/" as of 4.7
     385    const QString root(QLatin1String(":/"));
    385386
    386387    QMap<QString, QString> contents = m_resourceModel->contents();
     
    425426
    426427    const bool matchAll = m_filterPattern.isEmpty();
    427     const QString root(QLatin1Char(':'));
     428    const QString root(QLatin1));
    428429
    429430    QQueue<QString> pathQueue;
     
    669670void QtResourceView::selectResource(const QString &resource)
    670671{
     672
     673
    671674    QFileInfo fi(resource);
    672675    QDir dir = fi.absoluteDir();
Note: See TracChangeset for help on using the changeset viewer.