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:
thunder2 2012-08-26 20:31:10 +00:00
parent f7088f0cc6
commit 5d482b9a6f
30 changed files with 1403 additions and 1691 deletions

View file

@ -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 */