From 24f02a6dc258e3a47b337ed0e9588029568de8db Mon Sep 17 00:00:00 2001 From: Yuriy Puchkov Date: Tue, 26 Jan 2021 19:24:54 +0200 Subject: [PATCH] fix - Ubuntu - Broken Flameshot icon in the taskbar with pinned image (cherry picked from commit 18722f5b29dde05f22d0a88b7e2251f81a06ca00) --- src/tools/pin/pinwidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tools/pin/pinwidget.cpp b/src/tools/pin/pinwidget.cpp index 4c95ed06..1b332868 100644 --- a/src/tools/pin/pinwidget.cpp +++ b/src/tools/pin/pinwidget.cpp @@ -27,6 +27,7 @@ PinWidget::PinWidget(const QPixmap& pixmap, QWidget* parent) : QWidget(parent) , m_pixmap(pixmap) { + setWindowIcon(QIcon(":img/app/flameshot.svg")); setWindowFlags(Qt::WindowStaysOnTopHint | Qt::FramelessWindowHint); // set the bottom widget background transparent setAttribute(Qt::WA_TranslucentBackground);