From 1984b7cc3ddc57642d97515f5a5350bd5be489af Mon Sep 17 00:00:00 2001 From: Zdenek Jonak Date: Wed, 20 Apr 2016 22:05:27 +0200 Subject: [PATCH] Icon for shop plugin --- shop/icons/shop.svg | 1 + shop/shop.cpp | 2 +- shop/shop.pro | 2 +- shop/shoprc.qrc | 6 +++++- 4 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 shop/icons/shop.svg diff --git a/shop/icons/shop.svg b/shop/icons/shop.svg new file mode 100644 index 0000000..85d020f --- /dev/null +++ b/shop/icons/shop.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/shop/shop.cpp b/shop/shop.cpp index 76cf3df..473a3ad 100644 --- a/shop/shop.cpp +++ b/shop/shop.cpp @@ -14,5 +14,5 @@ void Shop::initServiceUi() QIcon Shop::pluginIcon() { - return QIcon(); + return QIcon(":/icons/shop.svg"); } diff --git a/shop/shop.pro b/shop/shop.pro index 8a2da7a..2231e66 100644 --- a/shop/shop.pro +++ b/shop/shop.pro @@ -28,7 +28,7 @@ HEADERS += shop.h\ directsaleform.h \ temporaryreceiptsaveform.h \ receiptsaveform.h \ - receiptloadform.h + receiptloadform.h \ ishopitem.h \ data/voucheritem.h \ data/shop-data.h \ diff --git a/shop/shoprc.qrc b/shop/shoprc.qrc index 7646d2b..f5d0ec4 100644 --- a/shop/shoprc.qrc +++ b/shop/shoprc.qrc @@ -1 +1,5 @@ - + + + icons/shop.svg + +