diff options
author | David Faure <faure@kde.org> | 2009-05-29 12:41:19 (GMT) |
---|---|---|
committer | David Faure <faure@kde.org> | 2009-05-29 12:41:19 (GMT) |
commit | 5d0870bd71f33c9267572655d0f842c82b017d6a (patch) | |
tree | f983ac36c0c46aa226a8b51b4e6db13b4f76ff40 /src/gui/itemviews/qfileiconprovider.cpp | |
parent | 1d8a4f55ce40400fcb35a645f2e94837e6ab0a24 (diff) | |
parent | 9088aeae9daf02546769377853824397458ba822 (diff) | |
download | Qt-5d0870bd71f33c9267572655d0f842c82b017d6a.zip Qt-5d0870bd71f33c9267572655d0f842c82b017d6a.tar.gz Qt-5d0870bd71f33c9267572655d0f842c82b017d6a.tar.bz2 |
Merge branch 'master' of git://gitorious.org/qt/qt
Diffstat (limited to 'src/gui/itemviews/qfileiconprovider.cpp')
-rw-r--r-- | src/gui/itemviews/qfileiconprovider.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/itemviews/qfileiconprovider.cpp b/src/gui/itemviews/qfileiconprovider.cpp index 054f4cf..434bcde 100644 --- a/src/gui/itemviews/qfileiconprovider.cpp +++ b/src/gui/itemviews/qfileiconprovider.cpp @@ -215,8 +215,7 @@ QIcon QFileIconProvider::icon(IconType type) const QIcon QFileIconProviderPrivate::getWinIcon(const QFileInfo &fileInfo) const { QIcon retIcon; - QString fileExtension = fileInfo.suffix().toUpper(); - fileExtension.prepend( QLatin1String(".") ); + const QString fileExtension = QLatin1Char('.') + fileInfo.suffix().toUpper(); QString key; if (fileInfo.isFile() && !fileInfo.isExecutable() && !fileInfo.isSymLink()) |