mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
Added a console message to explain why qBittorrent needs to be restarted
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user