From c8f8c5661f7b03f163486d79d314d032056c64e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Fri, 21 Oct 2022 17:58:51 +0200 Subject: [PATCH] Update close translator icon to svg --- YACReader/translator.cpp | 2 +- YACReader/yacreader_images.qrc | 2 +- images/close.png | Bin 215 -> 0 bytes images/close.svg | Bin 0 -> 317 bytes 4 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 images/close.png create mode 100644 images/close.svg diff --git a/YACReader/translator.cpp b/YACReader/translator.cpp index dcae81c0..1419adba 100644 --- a/YACReader/translator.cpp +++ b/YACReader/translator.cpp @@ -57,7 +57,7 @@ YACReaderTranslator::YACReaderTranslator(Viewer *parent) // TITLE BAR auto titleBar = new QHBoxLayout(); - auto close = new QPushButton(QIcon(QPixmap(":/images/close.png")), ""); + auto close = new QPushButton(QIcon(":/images/close.svg"), ""); close->setFlat(true); auto title = new QLabel(tr("YACReader translator")); title->setStyleSheet("QLabel {font-size:18px; font-family:Arial; color:white;}"); diff --git a/YACReader/yacreader_images.qrc b/YACReader/yacreader_images.qrc index ac14706b..8d94645f 100644 --- a/YACReader/yacreader_images.qrc +++ b/YACReader/yacreader_images.qrc @@ -9,7 +9,7 @@ ../images/flow4.png ../images/flow5.png ../images/notCover.png - ../images/close.png + ../images/close.svg ../images/up.png ../images/down.png ../images/imgCenterSlide.png diff --git a/images/close.png b/images/close.png deleted file mode 100644 index 54d51b35d61af702f1ba296872bb85baddbdf43c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 215 zcmeAS@N?(olHy`uVBq!ia0vp^d?3uh1|;P@bT0xa$r9IylHmNblJdl&R0hYC{G?O` z&)mfH)S%SFl*+=BsWw1Gm7Xq+Ar-gQ1a)#AP~fqNU9j51$-SJ#eWmacL1o{g5gfJ_ z0>wLRq&hfyTKbx7o~h=fOVqqvRAfCPa_70Jn=-7_%%ei$j(t!x;9YC!adz`7 zrroL&re2YFcvODvu4#{}`eG-|Tr)j*=JJp6-A7*S;JD{s$8Er{b=f|S^H~o>fR14B MboFyt=akR{0C5RS;{X5v diff --git a/images/close.svg b/images/close.svg new file mode 100644 index 0000000000000000000000000000000000000000..6d9bb7da574b0d4819d97a97f86b0d418f2f0e30 GIT binary patch literal 317 zcmZ`!O-sZu5dAA*JU1U*1<58^@Zia#o@Hq#-C#CZlF+n>|J|%r*o!dmW`_6Pyitec z?8%HNyBIVG%7I`Q;^@Mp;qCRgdxV2gd7g+HHM|^GOz#3nQ-!SIRLVs%R%@koM`M~; z&pBs}4rF#%pW>o{6Hdf^D==zAo10x(JsLXr+=)-?yq6&c+~<pTm`35JkVPyaS literal 0 HcmV?d00001