Remove svg dependencies

This commit is contained in:
lupoDharkael
2017-06-07 19:54:54 +02:00
parent 874f4c0815
commit 5a5e390fa0
4 changed files with 4 additions and 3 deletions

View File

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

View File

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

View File

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

View File

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