From 5a5e390fa00155ae91028a4917b886a222866d64 Mon Sep 17 00:00:00 2001 From: lupoDharkael Date: Wed, 7 Jun 2017 19:54:54 +0200 Subject: [PATCH] Remove svg dependencies --- graphics.qrc | 1 + src/config/configwindow.cpp | 2 +- src/controller.cpp | 2 +- src/infowindow.cpp | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/graphics.qrc b/graphics.qrc index d01542fc..fd61ec50 100644 --- a/graphics.qrc +++ b/graphics.qrc @@ -35,5 +35,6 @@ img/buttonIconsWhite/cursor-move.png img/buttonIconsBlack/square.png img/buttonIconsWhite/square.png + img/flameshot.png diff --git a/src/config/configwindow.cpp b/src/config/configwindow.cpp index f2654a94..a7c9ce4c 100644 --- a/src/config/configwindow.cpp +++ b/src/config/configwindow.cpp @@ -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); diff --git a/src/controller.cpp b/src/controller.cpp index ee0aa589..67c992c6 100644 --- a/src/controller.cpp +++ b/src/controller.cpp @@ -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); } diff --git a/src/infowindow.cpp b/src/infowindow.cpp index f51b7822..2ba0296e 100644 --- a/src/infowindow.cpp +++ b/src/infowindow.cpp @@ -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);