mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 01:45:38 +08:00
Fixed clazy warnings: unnecessary containers and containers being detached.
This commit is contained in:
@@ -513,7 +513,7 @@ namespace BlackGui
|
||||
|
||||
if (!m_pendingMessageCalls.isEmpty())
|
||||
{
|
||||
std::function<void()> f = m_pendingMessageCalls.front();
|
||||
std::function<void()> f = m_pendingMessageCalls.constFirst();
|
||||
m_pendingMessageCalls.removeFirst();
|
||||
const QPointer<COverlayMessages> myself(this);
|
||||
QTimer::singleShot(500, this, [ = ]
|
||||
|
||||
Reference in New Issue
Block a user