mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 14:45:12 -04:00
Moved some internal stylesheets to the file Standard.qss.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5474 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
f7088f0cc6
commit
5d482b9a6f
30 changed files with 1403 additions and 1691 deletions
|
@ -490,16 +490,13 @@ void ChannelFeed::updateChannelMsgs()
|
|||
return;
|
||||
}
|
||||
|
||||
QPixmap chanImage;
|
||||
if (ci.pngImageLen != 0) {
|
||||
QPixmap chanImage;
|
||||
chanImage.loadFromData(ci.pngChanImage, ci.pngImageLen, "PNG");
|
||||
iconLabel->setPixmap(chanImage);
|
||||
iconLabel->setStyleSheet("QLabel{border: 3px solid white;}");
|
||||
} else {
|
||||
QPixmap defaulImage(CHAN_DEFAULT_IMAGE);
|
||||
iconLabel->setPixmap(defaulImage);
|
||||
iconLabel->setStyleSheet("QLabel{border: 2px solid white;border-radius: 10px;}");
|
||||
chanImage = QPixmap(CHAN_DEFAULT_IMAGE);
|
||||
}
|
||||
iconLabel->setPixmap(chanImage);
|
||||
iconLabel->setEnabled(true);
|
||||
|
||||
/* set Channel name */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue