mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
0dbd5a22a0
commit
00007768f1
@ -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);
|
||||
|
@ -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>
|
||||
|
BIN
retroshare-gui/src/gui/icons/star_overlay_128.png
Normal file
BIN
retroshare-gui/src/gui/icons/star_overlay_128.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.8 KiB |
@ -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 |
Loading…
Reference in New Issue
Block a user