Optimized layout of the SubFileItem.

Show the cancel button only when downloading or when used in CreateChannelMsg.
Hide empty message text.
Fixed german language.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4402 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2011-07-06 23:46:16 +00:00
parent a0e6bf7b2a
commit c62f642706
8 changed files with 318 additions and 369 deletions

View file

@ -163,6 +163,7 @@ void ChanMsgItem::updateItemStatic()
}
msgLabel->setText(QString::fromStdWString(cmi.msg));
msgLabel->setVisible(!cmi.msg.empty());
QDateTime qtime;
qtime.setTime_t(cmi.ts);
@ -174,7 +175,6 @@ void ChanMsgItem::updateItemStatic()
out << "(" << cmi.count << " Files)";
filelabel->setText(QString::fromStdString(out.str()) + " " + misc::friendlyUnit(cmi.size));
}
if (mFileItems.empty() == false) {
std::list<SubFileItem *>::iterator it;