From 2fb3f90afcee05f7fbe163a159c0a5775b78ed03 Mon Sep 17 00:00:00 2001 From: Yuriy Puchkov Date: Wed, 13 Jan 2021 13:24:58 +0200 Subject: [PATCH] fix - no flameshot icon in the taskbar for 'Latest uploads' and 'Open launcher' widgets (cherry picked from commit c662e3e765df31798dd62f8b9a26cddf1a0aa8af) --- src/widgets/capturelauncher.cpp | 1 + src/widgets/historywidget.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/widgets/capturelauncher.cpp b/src/widgets/capturelauncher.cpp index 18455712..cb8e722a 100644 --- a/src/widgets/capturelauncher.cpp +++ b/src/widgets/capturelauncher.cpp @@ -37,6 +37,7 @@ CaptureLauncher::CaptureLauncher(QDialog* parent) , m_id(0) { setAttribute(Qt::WA_DeleteOnClose); + setWindowIcon(QIcon(":img/app/flameshot.svg")); m_imageLabel = new ImageLabel(this); bool ok; m_imageLabel->setScreenshot(ScreenGrabber().grabEntireDesktop(ok)); diff --git a/src/widgets/historywidget.cpp b/src/widgets/historywidget.cpp index 593cbd0e..dc63a375 100644 --- a/src/widgets/historywidget.cpp +++ b/src/widgets/historywidget.cpp @@ -20,6 +20,7 @@ HistoryWidget::HistoryWidget(QWidget* parent) : QDialog(parent) { + setWindowIcon(QIcon(":img/app/flameshot.svg")); setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint); setWindowTitle(tr("Latest Uploads")); setFixedSize(800, this->height());