mirror of
https://github.com/RetroShare/RetroShare.git
synced 2026-01-08 03:55:47 -05:00
Added 16:9 default icons when there is no pixmap data
This commit is contained in:
parent
b7d9d40743
commit
d78476ae73
7 changed files with 7 additions and 2 deletions
|
|
@ -205,6 +205,8 @@ void GxsChannelGroupItem::fill()
|
|||
GxsIdDetails::loadPixmapFromData(mGroup.mImage.mData, mGroup.mImage.mSize, chanImage,GxsIdDetails::ORIGINAL);
|
||||
|
||||
ui->logoLabel->setPixmap(chanImage);
|
||||
} else {
|
||||
ui->logoLabel->setPixmap(FilesDefs::getPixmapFromQtResourcePath(":/icons/feeds_channel.png"));
|
||||
}
|
||||
|
||||
if (IS_GROUP_SUBSCRIBED(mGroup.mMeta.mSubscribeFlags)) {
|
||||
|
|
|
|||
|
|
@ -212,7 +212,7 @@ void GxsForumGroupItem::fill()
|
|||
ui->forumlogo_label->setFixedSize(ITEM_PICTURE_FORMAT_RATIO*desired_height,desired_height);
|
||||
|
||||
if (IS_GROUP_PUBLISHER(mGroup.mMeta.mSubscribeFlags)) {
|
||||
ui->forumlogo_label->setPixmap(FilesDefs::getPixmapFromQtResourcePath(":/icons/png/forums.png"));
|
||||
ui->forumlogo_label->setPixmap(FilesDefs::getPixmapFromQtResourcePath(":/icons/feeds_forum.png"));
|
||||
} else {
|
||||
ui->forumlogo_label->setPixmap(FilesDefs::getPixmapFromQtResourcePath(":/icons/png/forums-default.png"));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -184,7 +184,7 @@ void PostedGroupItem::fill()
|
|||
GxsIdDetails::loadPixmapFromData(mGroup.mGroupImage.mData, mGroup.mGroupImage.mSize, postedImage,GxsIdDetails::ORIGINAL);
|
||||
ui->logoLabel->setPixmap(QPixmap(postedImage));
|
||||
} else {
|
||||
ui->logoLabel->setPixmap(FilesDefs::getPixmapFromQtResourcePath(":/icons/png/posted.png"));
|
||||
ui->logoLabel->setPixmap(FilesDefs::getPixmapFromQtResourcePath(":/icons/feeds_board.png"));
|
||||
}
|
||||
|
||||
if(mGroup.mMeta.mLastPost==0)
|
||||
|
|
|
|||
|
|
@ -49,6 +49,9 @@
|
|||
<file>icons/bullet_yellow_128.png</file>
|
||||
<file>icons/collections.png</file>
|
||||
<file>icons/flag-green.png</file>
|
||||
<file>icons/feeds_board.png</file>
|
||||
<file>icons/feeds_channel.png</file>
|
||||
<file>icons/feeds_forum.png</file>
|
||||
<file>icons/friends_128.png</file>
|
||||
<file>icons/folder.png</file>
|
||||
<file>icons/folderopen.png</file>
|
||||
|
|
|
|||
BIN
retroshare-gui/src/gui/icons/feeds_board.png
Normal file
BIN
retroshare-gui/src/gui/icons/feeds_board.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
BIN
retroshare-gui/src/gui/icons/feeds_channel.png
Normal file
BIN
retroshare-gui/src/gui/icons/feeds_channel.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.8 KiB |
BIN
retroshare-gui/src/gui/icons/feeds_forum.png
Normal file
BIN
retroshare-gui/src/gui/icons/feeds_forum.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.5 KiB |
Loading…
Add table
Add a link
Reference in a new issue