mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-22 14:23:35 -07:00
parent
41d9ee91a1
commit
c5a4edc991
1 changed files with 1 additions and 2 deletions
|
@ -115,8 +115,7 @@ QByteArray DefaultThemeSource::readStyleSheet()
|
|||
QColor DefaultThemeSource::getColor(const QString &colorId, const ColorMode colorMode) const
|
||||
{
|
||||
const auto iter = m_colors.constFind(colorId);
|
||||
Q_ASSERT(iter != m_colors.constEnd());
|
||||
if (iter == m_colors.constEnd()) [[unlikely]]
|
||||
if (iter == m_colors.constEnd())
|
||||
return {};
|
||||
|
||||
return (colorMode == ColorMode::Light)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue