mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-30 11:24:24 -04:00
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:
parent
a0e6bf7b2a
commit
c62f642706
8 changed files with 318 additions and 369 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue