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(">