From e33f73d08ec422429af3f2763e3551a820f9c172 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Sun, 24 Jul 2022 12:46:19 +0800 Subject: [PATCH] Avoid performance impact over network or removable drives --- src/gui/torrentcontentmodel.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/torrentcontentmodel.cpp b/src/gui/torrentcontentmodel.cpp index 0c8e5475e..664b73256 100644 --- a/src/gui/torrentcontentmodel.cpp +++ b/src/gui/torrentcontentmodel.cpp @@ -199,6 +199,7 @@ TorrentContentModel::TorrentContentModel(QObject *parent) , m_fileIconProvider {doesQFileIconProviderWork() ? new QFileIconProvider : new MimeFileIconProvider} #endif { + m_fileIconProvider->setOptions(QFileIconProvider::DontUseCustomDirectoryIcons); } TorrentContentModel::~TorrentContentModel()