diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2010-08-19 12:46:10 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2010-08-19 12:46:10 (GMT) |
commit | da005580969b2501a246027f47f75ed3ee52670e (patch) | |
tree | 2d937165e65e2ed7367c12c76ef32ca76f9aae44 /src | |
parent | f30adf43b9331dbf0bb3768fb7694af5bce66c4a (diff) | |
download | Qt-da005580969b2501a246027f47f75ed3ee52670e.zip Qt-da005580969b2501a246027f47f75ed3ee52670e.tar.gz Qt-da005580969b2501a246027f47f75ed3ee52670e.tar.bz2 |
Fixes a regression preventing loading images without extensions
Task-number: QTBUG-12560
Reviewed-by: gabi
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/image/qpixmap.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/image/qpixmap.cpp b/src/gui/image/qpixmap.cpp index ef9be8f..1c0ceff 100644 --- a/src/gui/image/qpixmap.cpp +++ b/src/gui/image/qpixmap.cpp @@ -830,9 +830,6 @@ bool QPixmap::load(const QString &fileName, const char *format, Qt::ImageConvers return false; QFileInfo info(fileName); - if (!info.exists()) - return false; - QString key = QLatin1Literal("qt_pixmap") % info.absoluteFilePath() % HexString<uint>(info.lastModified().toTime_t()) |