diff options
Diffstat (limited to 'konqueror/listview/konq_listviewwidget.cc')
-rw-r--r-- | konqueror/listview/konq_listviewwidget.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/konqueror/listview/konq_listviewwidget.cc b/konqueror/listview/konq_listviewwidget.cc index 858d7c9da..1fdb86e74 100644 --- a/konqueror/listview/konq_listviewwidget.cc +++ b/konqueror/listview/konq_listviewwidget.cc @@ -236,9 +236,9 @@ void KonqBaseListViewWidget::readProtocolConfig( const KURL & url ) lstColumns << column; const TQString type = (*extraFieldsIt).type; // ## TODO use when sorting TQVariant::Type t = TQVariant::Invalid; - if ( type.lower() == "qstring" ) + if ( type.lower() == TQString(TQSTRING_OBJECT_NAME_STRING).lower() ) t = TQVariant::String; - else if ( type.lower() == "qdatetime" ) + else if ( type.lower() == TQString(TQDATETIME_OBJECT_NAME_STRING).lower() ) t = TQVariant::DateTime; else kdWarning() << "Unsupported ExtraType '" << type << "'" << endl; |