mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Added a console message to explain why qBittorrent needs to be restarted
This commit is contained in:
parent
846962aab1
commit
c4dae02ef6
1 changed files with 1 additions and 0 deletions
|
@ -174,6 +174,7 @@ public slots:
|
||||||
bar->insertWidget(1, restartLbl);
|
bar->insertWidget(1, restartLbl);
|
||||||
QFontMetrics fm(restartLbl->font());
|
QFontMetrics fm(restartLbl->font());
|
||||||
restartLbl->setText(fm.elidedText(restart_text, Qt::ElideRight, restartLbl->width()));
|
restartLbl->setText(fm.elidedText(restart_text, Qt::ElideRight, restartLbl->width()));
|
||||||
|
BTSession->addConsoleMessage(tr("qBittorrent was just updated and needs to be restarted for the changes to be effective."), "red");
|
||||||
}
|
}
|
||||||
|
|
||||||
void stopTimer() {
|
void stopTimer() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue