From 120455b11a0860b13d961a7d878c06efdafb9d8c Mon Sep 17 00:00:00 2001 From: "S. Razi Alavizadeh" Date: Fri, 22 Feb 2013 03:43:59 +0330 Subject: [PATCH] Used qIconProvider instead of QFileIconProvider() and removed msgHandler on Windows. --- src/lib/network/schemehandlers/ftpschemehandler.cpp | 2 +- src/main/main.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/network/schemehandlers/ftpschemehandler.cpp b/src/lib/network/schemehandlers/ftpschemehandler.cpp index bab7b7225..ec074ee5c 100644 --- a/src/lib/network/schemehandlers/ftpschemehandler.cpp +++ b/src/lib/network/schemehandlers/ftpschemehandler.cpp @@ -312,7 +312,7 @@ QString FtpSchemeReply::loadDirectory() itemIcon = QzTools::iconFromFileName(itemPath); } else { - itemIcon = QFileIconProvider().icon(QFileIconProvider::Folder); + itemIcon = qIconProvider->standardIcon(QStyle::SP_DirIcon); } line += QLatin1String(">