fix - no flameshot icon in the taskbar for 'Latest uploads' and 'Open launcher' widgets

(cherry picked from commit c662e3e765df31798dd62f8b9a26cddf1a0aa8af)
This commit is contained in:
Yuriy Puchkov
2021-01-13 13:24:58 +02:00
committed by borgmanJeremy
parent c93c91e09f
commit 2fb3f90afc
2 changed files with 2 additions and 0 deletions

View File

@@ -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));

View File

@@ -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());