Commit 0ff45fdf authored by Nicolas Fella's avatar Nicolas Fella

Use QMap::firstKey()

parent c1878d10
Pipeline #3112 failed with stage
in 8 minutes and 21 seconds
......@@ -67,7 +67,7 @@ bool MprisRemotePlugin::receivePacket(const NetworkPacket& np)
if (m_players.empty()) {
m_currentPlayer = QString();
} else if (!m_players.contains(m_currentPlayer)) {
m_currentPlayer = m_players.keys().first();
m_currentPlayer = m_players.firstKey();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment