summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sigtools/PluginModel.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/sigtools/PluginModel.cpp b/sigtools/PluginModel.cpp
index a1cd2483..176c6a68 100644
--- a/sigtools/PluginModel.cpp
+++ b/sigtools/PluginModel.cpp
@@ -136,8 +136,7 @@ void PluginModel::redraw(const int width) const
m_pixmap.fill(KStatefulBrush(KColorScheme::View, KColorScheme::NormalBackground).brush(QPalette::Normal).color());
QPainter painter(&m_pixmap);
- QPixmap icon = KIcon(m_info->icon()).pixmap(row1height, row1height);
- painter.drawPixmap(w, h, icon);
+ painter.drawPixmap(w, h, KIcon(m_info->icon()).pixmap(row1height, row1height));
w += row1height;
w += horizSpacing;