[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kio] src/widgets: [PreviewJob] Send enabled thumbnail plugins to the thumbnail slave
From:       Kai Uwe Broulik <null () kde ! org>
Date:       2018-09-18 8:37:50
Message-ID: E1g2BW2-0006uO-6I () code ! kde ! org
[Download RAW message or body]

Git commit b582cd477f657e859818b2deff130ad186a6a704 by Kai Uwe Broulik.
Committed on 18/09/2018 at 08:37.
Pushed by broulik into branch 'master'.

[PreviewJob] Send enabled thumbnail plugins to the thumbnail slave

This way the thumbnailer can use the same enabled plugin configuration as t=
he calling application

CCBUG: 388303

Differential Revision: https://phabricator.kde.org/D15096

M  +1    -0    src/widgets/previewjob.cpp

https://commits.kde.org/kio/b582cd477f657e859818b2deff130ad186a6a704

diff --git a/src/widgets/previewjob.cpp b/src/widgets/previewjob.cpp
index 35c722ca..e807bd01 100644
--- a/src/widgets/previewjob.cpp
+++ b/src/widgets/previewjob.cpp
@@ -638,6 +638,7 @@ void PreviewJobPrivate::createThumbnail(const QString &=
pixPath)
     job->addMetaData(QStringLiteral("iconSize"), QString().setNum(save ? 6=
4 : iconSize));
     job->addMetaData(QStringLiteral("iconAlpha"), QString().setNum(iconAlp=
ha));
     job->addMetaData(QStringLiteral("plugin"), currentItem.plugin->library=
());
+    //job->addMetaData(QStringLiteral("enabledPlugins"), enabledPlugins.jo=
in(QLatin1Char(',')));
     if (sequenceIndex) {
         job->addMetaData(QStringLiteral("sequence-index"), QString().setNu=
m(sequenceIndex));
     }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic