Changeset 846 for trunk/src/gui/image/qxpmhandler.cpp
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/src/gui/image/qxpmhandler.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 767 767 XPMRGBData x; 768 768 x.name = name_no_space; 769 // Fun tion bsearch() is supposed to be769 // Funtion bsearch() is supposed to be 770 770 // void *bsearch(const void *key, const void *base, ... 771 771 // So why (char*)? Are there broken bsearch() declarations out there? … … 1226 1226 bool QXpmHandler::canRead() const 1227 1227 { 1228 if (state == Ready && canRead(device())) { 1228 if (state == Ready && !canRead(device())) 1229 return false; 1230 1231 if (state != Error) { 1229 1232 setFormat("xpm"); 1230 1233 return true; 1231 1234 } 1232 return state != Error; 1235 1236 return false; 1233 1237 } 1234 1238
Note:
See TracChangeset
for help on using the changeset viewer.