diff options
author | Slávek Banko <[email protected]> | 2021-03-07 20:24:08 +0100 |
---|---|---|
committer | gregory guy <[email protected]> | 2021-03-11 15:04:46 +0100 |
commit | 70defe5e6d9498c5c6011eee50c4dc506abebd61 (patch) | |
tree | c2d269ffeaf389637607efa6547ff8eb2d41cd45 /kommander/editor/pixmapchooser.cpp | |
parent | 4c43d1fbb66a296958ed1d0dbddf3f8ac4466130 (diff) | |
download | tdewebdev-70defe5e6d9498c5c6011eee50c4dc506abebd61.tar.gz tdewebdev-70defe5e6d9498c5c6011eee50c4dc506abebd61.zip |
Added controlled conversions to char* instead of automatic ascii conversions.
The definition of -UTQT_NO_ASCII_CAST is no longer needed.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'kommander/editor/pixmapchooser.cpp')
-rw-r--r-- | kommander/editor/pixmapchooser.cpp | 2 |
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 ); |