mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Use helper function for logging messages
This commit is contained in:
parent
ec13bba4da
commit
dba711d099
8 changed files with 26 additions and 29 deletions
|
@ -1106,7 +1106,7 @@ void MainWindow::notifyOfUpdate(const QString &)
|
|||
{
|
||||
// Show restart message
|
||||
m_statusBar->showRestartRequired();
|
||||
Logger::instance()->addMessage(tr("qBittorrent was just updated and needs to be restarted for the changes to be effective.")
|
||||
LogMsg(tr("qBittorrent was just updated and needs to be restarted for the changes to be effective.")
|
||||
, Log::CRITICAL);
|
||||
// Delete the executable watcher
|
||||
delete m_executableWatcher;
|
||||
|
@ -1499,7 +1499,7 @@ void MainWindow::activate()
|
|||
|
||||
void MainWindow::optionsSaved()
|
||||
{
|
||||
Logger::instance()->addMessage(tr("Options saved."));
|
||||
LogMsg(tr("Options saved."));
|
||||
loadPreferences();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue