From d9d6c900d241874c1c22d67a92aa78592c4a27bf Mon Sep 17 00:00:00 2001 From: ackimixs Date: Thu, 1 Feb 2024 16:06:45 +0100 Subject: [PATCH] close img to png --- MainWindow.h | 2 +- img/close.png | Bin 0 -> 339 bytes resource.qrc | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 img/close.png diff --git a/MainWindow.h b/MainWindow.h index ab56b4d..4de91a3 100644 --- a/MainWindow.h +++ b/MainWindow.h @@ -30,7 +30,7 @@ public: this->topLayout = new QHBoxLayout; this->quit = new QPushButton("", this); - this->quit->setIcon(QIcon(":/img/close.svg")); + this->quit->setIcon(QPixmap(":/img/close.png", "PNG")); this->quit->setStyleSheet("background-color: red; border: none;"); connect(this->quit, &QPushButton::pressed, this, [=]() { diff --git a/img/close.png b/img/close.png new file mode 100644 index 0000000000000000000000000000000000000000..a40f6b32ce7de58760d764cdc703eeb22a40de05 GIT binary patch literal 339 zcmV-Z0j&OsP)Px$4M{{nR7gwRmCKdGAPhyXHWUN>xJde8ieaM(a(wJbz~UtFB9pBpy$?@{aPdzr zp3naVh``UJg~QsBMXezdSf~z2AX3Qzmf9iI1Bf75(4;~^!veLdBtWc<2qd8N2n`g3 zDAcT5BP`E$g$OkxBveX3rxk3ruQv7B{r%P@u#WL!x(_nDOiAm?s3g#GQ`S+pN5cbX zl?S#`KpQ|pafi<+c(SW8S|9(M`PMk2;6a61^ihB)kaf4E0a`3a**`9)r@(dsG#yyC zeoL1?QD+&?0OFdK?h?Hn(}@AEFWN))$EU&~d{=39b#~(X*f~pNk9j|KqlG(vgA32~ limg/logo_without_background.png img/table.jpg img/close.svg + img/close.png \ No newline at end of file