mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-23 04:54:18 +00:00
Added a console message to explain why qBittorrent needs to be restarted
This commit is contained in:
parent
846962aab1
commit
c4dae02ef6
@ -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…
x
Reference in New Issue
Block a user