--- fpicker/source/unx/kde/kdefilepicker.cxx	2006-02-03 13:40:38.838645436 +0100
+++ fpicker/source/unx/kde/kdefilepicker.cxx	2006-02-03 13:55:55.918717497 +0100
@@ -70,6 +70,7 @@
 #include <qlayout.h>
 #include <qobjectlist.h>
 #include <qpushbutton.h>
+#include <qregexp.h>
 #include <qvbox.h>
 
 #ifdef QT_NO_EMIT
@@ -553,7 +554,11 @@ void FileDialog::appendFilter( const QSt
     QString qFilter( rFilter );
     qFilter.replace( QChar( ';' ), QChar( ' ' ) ).replace( "*.*", "*" );
 
-    m_aFilters.push_back( qMakePair( rTitle, qFilter ) );
+    // Workaround for too wide <All formats> (*.bmp;...) entry
+    QString qTitle( rTitle );
+    qTitle.replace( QRegExp( "^<([^>]*)> \\(.*" ), "<\\1>" );
+
+    m_aFilters.push_back( qMakePair( qTitle, qFilter ) );
 }
 
 QString FileDialog::filters() const
