From 10f46616dc54e2b3121f4d411c1ec0c5b79759fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=A4rkl?= Date: Mon, 4 Dec 2017 14:59:41 +0100 Subject: [PATCH] Add Icons with Background --- src/img/cutter_bg.svg | 70 +++++++++++++++++++++++++++++++++++++ src/img/cutter_white_bg.svg | 70 +++++++++++++++++++++++++++++++++++++ src/main.cpp | 2 +- src/resources.qrc | 2 ++ 4 files changed, 143 insertions(+), 1 deletion(-) create mode 100644 src/img/cutter_bg.svg create mode 100644 src/img/cutter_white_bg.svg diff --git a/src/img/cutter_bg.svg b/src/img/cutter_bg.svg new file mode 100644 index 00000000..570bd8a2 --- /dev/null +++ b/src/img/cutter_bg.svg @@ -0,0 +1,70 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/src/img/cutter_white_bg.svg b/src/img/cutter_white_bg.svg new file mode 100644 index 00000000..1561ab4e --- /dev/null +++ b/src/img/cutter_white_bg.svg @@ -0,0 +1,70 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/src/main.cpp b/src/main.cpp index b8dd6900..32ee6c5e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -37,7 +37,7 @@ int main(int argc, char *argv[]) a.setOrganizationName("cutter"); a.setApplicationName("cutter"); a.setApplicationVersion(APP_VERSION); - a.setWindowIcon(QIcon(":/img/cutter_white.svg")); + a.setWindowIcon(QIcon(":/img/cutter_white_bg.svg")); // Set QString codec to UTF-8 QTextCodec::setCodecForLocale(QTextCodec::codecForName("UTF-8")); diff --git a/src/resources.qrc b/src/resources.qrc index 40906375..3e208700 100644 --- a/src/resources.qrc +++ b/src/resources.qrc @@ -59,5 +59,7 @@ fonts/Inconsolata-Regular.ttf img/cutter.svg img/cutter_white.svg + img/cutter_bg.svg + img/cutter_white_bg.svg