Windows does not like svg
This commit is contained in:
parent
14671a0b52
commit
97db7ddc0c
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user