From ae0fafe237006f6d2f9d317cd00dd04f4f7cb74d Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Sat, 8 Feb 2020 13:37:48 +0200 Subject: [PATCH] [Background Finder] Create a valid invocation token Summary: According to Qt docs, QUuid() creates a null UUID object. Test Plan: N/A, plasmashell is very unstable with Qt 5.15. Reviewers: #plasma, davidedmundson Reviewed By: #plasma, davidedmundson Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D27237 --- wallpapers/image/backgroundlistmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wallpapers/image/backgroundlistmodel.cpp b/wallpapers/image/backgroundlistmodel.cpp index 0c96b707e..d7efaef3b 100644 --- a/wallpapers/image/backgroundlistmodel.cpp +++ b/wallpapers/image/backgroundlistmodel.cpp @@ -491,7 +491,7 @@ const QStringList BackgroundListModel::wallpapersAwaitingDeletion() BackgroundFinder::BackgroundFinder(Image *wallpaper, const QStringList &paths) : QThread(wallpaper), m_paths(paths), - m_token(QUuid().toString()) + m_token(QUuid::createUuid().toString()) { }