summaryrefslogtreecommitdiffstats
path: root/kommander/editor/pixmapchooser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/editor/pixmapchooser.cpp')
-rw-r--r--kommander/editor/pixmapchooser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kommander/editor/pixmapchooser.cpp b/kommander/editor/pixmapchooser.cpp
index 224bbe72..7a2bd85e 100644
--- a/kommander/editor/pixmapchooser.cpp
+++ b/kommander/editor/pixmapchooser.cpp
@@ -1016,7 +1016,7 @@ ImageIconProvider::~ImageIconProvider()
const TQPixmap * ImageIconProvider::pixmap( const TQFileInfo &fi )
{
TQString ext = fi.extension().upper();
- if ( fmts.contains( ext ) ) {
+ if ( fmts.contains( ext.utf8() ) ) {
return &imagepm;
} else {
return TQFileIconProvider::pixmap( fi );