* set bold for Down: and Up: String in Statusbar

* set a Window icon for Create Forum

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@745 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2008-10-12 13:33:38 +00:00
parent 8e58bfea73
commit 8ae8f6bb88
2 changed files with 7 additions and 8 deletions

View file

@ -261,9 +261,7 @@ MainWindow::MainWindow(QWidget* parent, Qt::WFlags flags)
#endif
peerstatus = new PeerStatus();
statusBar()->addWidget(peerstatus);
//statusBar()->addWidget(statusPeers = new QLabel(tr("Online: 0 |Friends: 0|Network: 0")));
statusBar()->addPermanentWidget(statusRates = new QLabel(tr("Down: 0.0 | Up: 0.0 ")));
//statusBar()->addPermanentWidget(statusPeers = new QLabel(tr("Online: 0 |Friends: 0|Network: 0")));
statusBar()->addPermanentWidget(statusRates = new QLabel(tr("<strong>Down:</strong> 0.00 | <strong>Up:</strong> 0.00 ")));
//servicegrp->actions()[0]->setChecked(true);
@ -329,7 +327,7 @@ void MainWindow::updateStatus()
rsicontrol -> ConfigGetDataRates(downKb, upKb);
std::ostringstream out;
out << "Down: " << std::setprecision(2) << std::fixed << downKb << " (kB/s) | Up: " << std::setprecision(2) << std::fixed << upKb << " (kB/s) ";
out << "<strong>Down:</strong> " << std::setprecision(2) << std::fixed << downKb << " (kB/s) | <strong>Up:</strong> " << std::setprecision(2) << std::fixed << upKb << " (kB/s) ";
/* set uploads/download rates */
if (statusRates)