diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-08-01 11:11:41 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-01 11:11:41 -0400 |
| commit | 592fa7310492392440ee73f4cc0f962c66d5aba7 (patch) | |
| tree | 82d6fd20140acd8bbd9cbd9a953ac3c18019111e /src/iconfetcher.cpp | |
| parent | 9d3281fd58e41f4320f36710a1a36f9ece1efdc6 (diff) | |
| parent | 64ba6cae1e6b74929d88de628bb2915cb9c6f2d2 (diff) | |
Merge pull request #1176 from isanae/2.3.1-fixes
2.3.1 fixes
Diffstat (limited to 'src/iconfetcher.cpp')
| -rw-r--r-- | src/iconfetcher.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/iconfetcher.cpp b/src/iconfetcher.cpp index 129be50e..c10adc8d 100644 --- a/src/iconfetcher.cpp +++ b/src/iconfetcher.cpp @@ -1,4 +1,5 @@ #include "iconfetcher.h" +#include "thread_utils.h" #include "shared/util.h" void IconFetcher::Waiter::wait() @@ -25,7 +26,7 @@ IconFetcher::IconFetcher() m_quickCache.file = getPixmapIcon(QFileIconProvider::File); m_quickCache.directory = getPixmapIcon(QFileIconProvider::Folder); - m_thread = std::thread([&]{ threadFun(); }); + m_thread = MOShared::startSafeThread([&]{ threadFun(); }); } IconFetcher::~IconFetcher() |
