mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-21 05:39:11 -04:00
merged upstream/master
This commit is contained in:
commit
f3824f2348
47 changed files with 1639 additions and 646 deletions
|
@ -692,8 +692,6 @@ void MainWindow::updateStatus()
|
|||
// This call is essential to remove locks due to QEventLoop re-entrance while asking gpg passwds. Dont' remove it!
|
||||
if(RsAutoUpdatePage::eventsLocked())
|
||||
return;
|
||||
if(Settings->valueFromGroup("StatusBar", "DisableSysTrayToolTip", QVariant(false)).toBool())
|
||||
return;
|
||||
float downKb = 0;
|
||||
float upKb = 0;
|
||||
rsConfig->GetCurrentDataRates(downKb, upKb);
|
||||
|
@ -711,6 +709,8 @@ void MainWindow::updateStatus()
|
|||
discstatus->update();
|
||||
}
|
||||
|
||||
if(!Settings->valueFromGroup("StatusBar", "DisableSysTrayToolTip", QVariant(false)).toBool()) {
|
||||
|
||||
QString tray = "RetroShare\n" + tr("Down: %1 (kB/s)").arg(downKb, 0, 'f', 2) + " | " + tr("Up: %1 (kB/s)").arg(upKb, 0, 'f', 2) + "\n";
|
||||
|
||||
if (onlineCount == 1) {
|
||||
|
@ -726,6 +726,7 @@ void MainWindow::updateStatus()
|
|||
tray += notifyToolTip;
|
||||
}
|
||||
trayIcon->setToolTip(tray);
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::updateFriends()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue