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/gui/image/qppmhandler.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)
     
    410410bool QPpmHandler::canRead() const
    411411{
    412     if (state == Ready) {
    413         if (!canRead(device(), &subType))
    414             return false;
     412    if (state == Ready && !canRead(device(), &subType))
     413        return false;
     414
     415    if (state != Error) {
    415416        setFormat(subType);
    416417        return true;
    417418    }
    418     return state != Error;
     419
     420    return false;
    419421}
    420422
Note: See TracChangeset for help on using the changeset viewer.