From 18d4b2bb6f2ea7cfa023e477af7b27f9e767ec00 Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Mon, 15 Dec 2014 14:33:55 +0100 Subject: [PATCH] Override plasmoid size to zero rather than one Prevent the plasmoid from rendering a tiny SVG which is then upscaled and re-rendered later REVIEW: 121472 --- applets/systemtray/plugin/protocols/plasmoid/plasmoidtask.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/applets/systemtray/plugin/protocols/plasmoid/plasmoidtask.cpp b/applets/systemtray/plugin/protocols/plasmoid/plasmoidtask.cpp index 071705a85..d79941afb 100644 --- a/applets/systemtray/plugin/protocols/plasmoid/plasmoidtask.cpp +++ b/applets/systemtray/plugin/protocols/plasmoid/plasmoidtask.cpp @@ -65,8 +65,8 @@ PlasmoidTask::PlasmoidTask(const QString &packageName, int appletId, Plasma::Con * controlled by applet itself. This caused some plasmoids like * klipper getting expanded for an instant before collapsing again */ - m_taskGraphicsObject->setWidth(1); - m_taskGraphicsObject->setHeight(1); + m_taskGraphicsObject->setWidth(0); + m_taskGraphicsObject->setHeight(0); Plasma::Package package = Plasma::PluginLoader::self()->loadPackage("Plasma/Shell"); package.setDefaultPackageRoot(PLASMA_RELATIVE_DATA_INSTALL_DIR "/plasmoids/");