Fixed overlay icon (star) for tray icon.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8578 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2015-07-06 09:10:57 +00:00
parent 0dbd5a22a0
commit 00007768f1
5 changed files with 3 additions and 2 deletions

View File

@ -123,6 +123,7 @@
#define IMAGE_NOONLINE ":/icons/logo_0_connected_128.png"
#define IMAGE_ONEONLINE ":/icons/logo_1_connected_128.png"
#define IMAGE_TWOONLINE ":/icons/logo_2_connected_128.png"
#define IMAGE_OVERLAY ":/icons/star_overlay_128.png"
/* Images for toolbar icons */
//#define IMAGE_NETWORK2 ":/images/rs1.png"
@ -743,7 +744,7 @@ void MainWindow::updateFriends()
QIcon icon;
if (notifyMenu && notifyMenu->menuAction()->isVisible()) {
QPixmap trayImage(trayIconResource);
QPixmap overlayImage(":/images/rstray_star.png");
QPixmap overlayImage(IMAGE_OVERLAY);
QPainter painter(&trayImage);
painter.drawPixmap(0, 0, overlayImage);

View File

@ -44,6 +44,7 @@
<file>icons/security_high_128.png</file>
<file>icons/security_low_128.png</file>
<file>icons/security_medium_128.png</file>
<file>icons/star_overlay_128.png</file>
<file>icons/switch00_128.png</file>
<file>icons/switch01_128.png</file>
<file>icons/switch10_128.png</file>

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

View File

@ -427,7 +427,6 @@
<file>images/reload24.png</file>
<file>images/reset.png</file>
<file>images/resume.png</file>
<file>images/rstray_star.png</file>
<file>images/security-high-16.png</file>
<file>images/security-high-48.png</file>
<file>images/security-low-48.png</file>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 341 B