mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
committed by
GitHub
parent
f27f2c20e0
commit
10ee1ab7a2
@@ -464,8 +464,7 @@ void Application::processMessage(const QString &message)
|
||||
#ifndef DISABLE_GUI
|
||||
if (message.isEmpty())
|
||||
{
|
||||
// TODO: use [[likely]] in C++20
|
||||
if (Q_LIKELY(BitTorrent::Session::instance()->isRestored()))
|
||||
if (BitTorrent::Session::instance()->isRestored()) [[likely]]
|
||||
{
|
||||
m_window->activate(); // show UI
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user