Remove svg dependencies
This commit is contained in:
@@ -35,5 +35,6 @@
|
||||
<file>img/buttonIconsWhite/cursor-move.png</file>
|
||||
<file>img/buttonIconsBlack/square.png</file>
|
||||
<file>img/buttonIconsWhite/square.png</file>
|
||||
<file>img/flameshot.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
||||
@@ -33,7 +33,7 @@ ConfigWindow::ConfigWindow(QWidget *parent) : QWidget(parent) {
|
||||
setAttribute(Qt::WA_DeleteOnClose);
|
||||
setFixedSize(400, 450);
|
||||
setWindowFlags(Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint);
|
||||
setWindowIcon(QIcon(":img/flameshot.svg"));
|
||||
setWindowIcon(QIcon(":img/flameshot.png"));
|
||||
setWindowTitle(tr("Configuration"));
|
||||
|
||||
m_layout = new QVBoxLayout(this);
|
||||
|
||||
@@ -73,7 +73,7 @@ void Controller::createTrayIcon() {
|
||||
m_trayIcon = new QSystemTrayIcon(this);
|
||||
m_trayIcon->setToolTip("Flameshot");
|
||||
m_trayIcon->setContextMenu(m_trayIconMenu);
|
||||
m_trayIcon->setIcon(QIcon(":img/flameshot.svg"));
|
||||
m_trayIcon->setIcon(QIcon(":img/flameshot.png"));
|
||||
connect(m_trayIcon, &QSystemTrayIcon::activated,
|
||||
this, &Controller::trayIconActivated);
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ InfoWindow::InfoWindow(QWidget *parent) : QWidget(parent) {
|
||||
setAttribute(Qt::WA_DeleteOnClose);
|
||||
setFixedSize(400, 275);
|
||||
setWindowFlags(Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint);
|
||||
setWindowIcon(QIcon(":img/flameshot.svg"));
|
||||
setWindowIcon(QIcon(":img/flameshot.png"));
|
||||
setWindowTitle(tr("About"));
|
||||
|
||||
layout = new QVBoxLayout(this);
|
||||
|
||||
Reference in New Issue
Block a user