diff options
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() |
