mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 22:55:04 -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
5 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue