mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-05 07:35:12 -04:00
* 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:
parent
8e58bfea73
commit
8ae8f6bb88
2 changed files with 7 additions and 8 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue