From 30cb347d42882778dffab7464e19c0bd75fea11a Mon Sep 17 00:00:00 2001 From: Jordan Lee Date: Mon, 31 Dec 2012 22:43:29 +0000 Subject: [PATCH] (qt) #5204 extra cleanups in Utils::guessMimeIcon() from rb07 --- qt/utils.cc | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/qt/utils.cc b/qt/utils.cc index a85c09abe..9cbc81f85 100644 --- a/qt/utils.cc +++ b/qt/utils.cc @@ -67,46 +67,46 @@ Utils :: guessMimeIcon( const QString& filename ) { fallback = QApplication::style()->standardIcon( QStyle :: SP_FileIcon ); - suffixes[DISK] << QString::fromAscii("iso"); - fileIcons[DISK]= QIcon::fromTheme( QString::fromAscii("media-optical"), fallback ); + suffixes[DISK] << QString::fromLatin1("iso"); + fileIcons[DISK]= QIcon::fromTheme( QString::fromLatin1("media-optical"), fallback ); const char * doc_types[] = { "abw", "csv", "doc", "dvi", "htm", "html", "ini", "log", "odp", "ods", "odt", "pdf", "ppt", "ps", "rtf", "tex", "txt", "xml" }; for( int i=0, n=sizeof(doc_types)/sizeof(doc_types[0]); i