Windows does not like svg

This commit is contained in:
ArsenArsen 2017-07-08 12:53:08 +02:00
parent 14671a0b52
commit 97db7ddc0c

View File

@ -42,7 +42,7 @@ void addHotkey(QString name, std::function<void()> action) {
MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) {
instance = this; instance = this;
ui->setupUi(this); ui->setupUi(this);
setWindowIcon(QIcon(":/icons/icon.svg")); setWindowIcon(QIcon(":/icons/icon.png"));
tray = new QSystemTrayIcon(windowIcon(), this); tray = new QSystemTrayIcon(windowIcon(), this);
tray->setToolTip("KShare"); tray->setToolTip("KShare");
tray->setVisible(true); tray->setVisible(true);