mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-07-20 22:32:01 +00:00
[idd] stop flooding the log with parsed modes
This commit is contained in:
@@ -64,16 +64,15 @@ void CSettings::LoadModes()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
DEBUG_INFO("Parsed Modes:");
|
|
||||||
for (const auto& line : entries)
|
for (const auto& line : entries)
|
||||||
if (ParseModeString(line, m))
|
if (ParseModeString(line, m))
|
||||||
{
|
{
|
||||||
DEBUG_INFO(" %ux%u@%u%s", m.width, m.height, m.refresh, m.preferred ? "*" : "");
|
|
||||||
|
|
||||||
if (hasPreferred)
|
if (hasPreferred)
|
||||||
m.preferred = false;
|
m.preferred = false;
|
||||||
m_displayModes.push_back(m);
|
m_displayModes.push_back(m);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DEBUG_INFO("Parsed %d modes", m_displayModes.size());
|
||||||
}
|
}
|
||||||
|
|
||||||
void CSettings::SetExtraMode(const DisplayMode& mode)
|
void CSettings::SetExtraMode(const DisplayMode& mode)
|
||||||
|
|||||||
Reference in New Issue
Block a user