From 5d9f8f002a5a07902747ef54ba28205c367808fb Mon Sep 17 00:00:00 2001 From: Yuriy Puchkov Date: Mon, 12 Oct 2020 13:38:41 +0300 Subject: [PATCH] Fix resource path for images --- src/config/setshortcutwidget.cpp | 2 +- src/config/shortcutswidget.cpp | 2 +- src/tools/storage/imguploader.cpp | 2 +- src/tools/storage/s3/imgs3uploader.cpp | 2 +- src/widgets/infowindow.cpp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/config/setshortcutwidget.cpp b/src/config/setshortcutwidget.cpp index 7b570da4..cd5ab130 100644 --- a/src/config/setshortcutwidget.cpp +++ b/src/config/setshortcutwidget.cpp @@ -26,7 +26,7 @@ SetShortcutDialog::SetShortcutDialog(QDialog* parent) : QDialog(parent) { setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint); - setWindowIcon(QIcon(":img/app/flameshot.svg")); + setWindowIcon(QIcon(":img/app/org.flameshot.Flameshot.svg")); setWindowTitle(tr("Set Shortcut")); m_ks = QKeySequence(); diff --git a/src/config/shortcutswidget.cpp b/src/config/shortcutswidget.cpp index afd1aabc..83af66fc 100644 --- a/src/config/shortcutswidget.cpp +++ b/src/config/shortcutswidget.cpp @@ -39,7 +39,7 @@ ShortcutsWidget::ShortcutsWidget(QWidget* parent) : QWidget(parent) { setAttribute(Qt::WA_DeleteOnClose); - setWindowIcon(QIcon(":img/app/flameshot.svg")); + setWindowIcon(QIcon(":img/app/org.flameshot.Flameshot.svg")); setWindowTitle(tr("Hot Keys")); #if (QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)) diff --git a/src/tools/storage/imguploader.cpp b/src/tools/storage/imguploader.cpp index 92597dbd..7106ed61 100644 --- a/src/tools/storage/imguploader.cpp +++ b/src/tools/storage/imguploader.cpp @@ -59,7 +59,7 @@ void ImgUploader::init(const QString& title, const QString& label) resultStatus = false; setWindowTitle(title); - setWindowIcon(QIcon(":img/app/flameshot.svg")); + setWindowIcon(QIcon(":img/app/org.flameshot.Flameshot.svg")); #if (QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)) QRect position = frameGeometry(); diff --git a/src/tools/storage/s3/imgs3uploader.cpp b/src/tools/storage/s3/imgs3uploader.cpp index fc57e850..c16f7860 100644 --- a/src/tools/storage/s3/imgs3uploader.cpp +++ b/src/tools/storage/s3/imgs3uploader.cpp @@ -65,7 +65,7 @@ void ImgS3Uploader::init(const QString& title, const QString& label) resultStatus = false; setWindowTitle(title); - setWindowIcon(QIcon(":img/app/flameshot.svg")); + setWindowIcon(QIcon(":img/app/org.flameshot.Flameshot.svg")); } QNetworkProxy* ImgS3Uploader::proxy() diff --git a/src/widgets/infowindow.cpp b/src/widgets/infowindow.cpp index f5520d07..c0c12aec 100644 --- a/src/widgets/infowindow.cpp +++ b/src/widgets/infowindow.cpp @@ -55,7 +55,7 @@ InfoWindow::InfoWindow(QWidget* parent) void InfoWindow::initLabels() { QLabel* icon = new QLabel(); - icon->setPixmap(QPixmap(":img/app/flameshot.svg")); + icon->setPixmap(QPixmap(":img/app/org.flameshot.Flameshot.svg")); icon->setAlignment(Qt::AlignHCenter); m_layout->addWidget(icon);