mirror of
https://github.com/fergalmoran/flameshot.git
synced 2025-12-22 09:51:06 +00:00
Fix resource path for images
This commit is contained in:
@@ -26,7 +26,7 @@ SetShortcutDialog::SetShortcutDialog(QDialog* parent)
|
|||||||
: QDialog(parent)
|
: QDialog(parent)
|
||||||
{
|
{
|
||||||
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||||
setWindowIcon(QIcon(":img/app/flameshot.svg"));
|
setWindowIcon(QIcon(":img/app/org.flameshot.Flameshot.svg"));
|
||||||
setWindowTitle(tr("Set Shortcut"));
|
setWindowTitle(tr("Set Shortcut"));
|
||||||
m_ks = QKeySequence();
|
m_ks = QKeySequence();
|
||||||
|
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ ShortcutsWidget::ShortcutsWidget(QWidget* parent)
|
|||||||
: QWidget(parent)
|
: QWidget(parent)
|
||||||
{
|
{
|
||||||
setAttribute(Qt::WA_DeleteOnClose);
|
setAttribute(Qt::WA_DeleteOnClose);
|
||||||
setWindowIcon(QIcon(":img/app/flameshot.svg"));
|
setWindowIcon(QIcon(":img/app/org.flameshot.Flameshot.svg"));
|
||||||
setWindowTitle(tr("Hot Keys"));
|
setWindowTitle(tr("Hot Keys"));
|
||||||
|
|
||||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 10, 0))
|
#if (QT_VERSION >= QT_VERSION_CHECK(5, 10, 0))
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ void ImgUploader::init(const QString& title, const QString& label)
|
|||||||
|
|
||||||
resultStatus = false;
|
resultStatus = false;
|
||||||
setWindowTitle(title);
|
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))
|
#if (QT_VERSION >= QT_VERSION_CHECK(5, 10, 0))
|
||||||
QRect position = frameGeometry();
|
QRect position = frameGeometry();
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ void ImgS3Uploader::init(const QString& title, const QString& label)
|
|||||||
|
|
||||||
resultStatus = false;
|
resultStatus = false;
|
||||||
setWindowTitle(title);
|
setWindowTitle(title);
|
||||||
setWindowIcon(QIcon(":img/app/flameshot.svg"));
|
setWindowIcon(QIcon(":img/app/org.flameshot.Flameshot.svg"));
|
||||||
}
|
}
|
||||||
|
|
||||||
QNetworkProxy* ImgS3Uploader::proxy()
|
QNetworkProxy* ImgS3Uploader::proxy()
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ InfoWindow::InfoWindow(QWidget* parent)
|
|||||||
void InfoWindow::initLabels()
|
void InfoWindow::initLabels()
|
||||||
{
|
{
|
||||||
QLabel* icon = new QLabel();
|
QLabel* icon = new QLabel();
|
||||||
icon->setPixmap(QPixmap(":img/app/flameshot.svg"));
|
icon->setPixmap(QPixmap(":img/app/org.flameshot.Flameshot.svg"));
|
||||||
icon->setAlignment(Qt::AlignHCenter);
|
icon->setAlignment(Qt::AlignHCenter);
|
||||||
m_layout->addWidget(icon);
|
m_layout->addWidget(icon);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user