Fix resource path for images

This commit is contained in:
Yuriy Puchkov
2020-10-12 13:38:41 +03:00
parent f894b44f25
commit 5d9f8f002a
5 changed files with 5 additions and 5 deletions

View File

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

View File

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

View File

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

View File

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

View File

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