refresh rates
This commit is contained in:
parent
3277321c26
commit
7b7ce638f4
5 changed files with 17 additions and 7 deletions
|
|
@ -112,7 +112,10 @@ void CConfigManager::handleMonitor(const std::string& command, const std::string
|
|||
nextItem();
|
||||
|
||||
newrule.resolution.x = stoi(curitem.substr(0, curitem.find_first_of('x')));
|
||||
newrule.resolution.y = stoi(curitem.substr(curitem.find_first_of('x') + 1));
|
||||
newrule.resolution.y = stoi(curitem.substr(curitem.find_first_of('x') + 1, curitem.find_first_of('@')));
|
||||
|
||||
if (curitem.find_first_of('@') != std::string::npos)
|
||||
newrule.refreshRate = stof(curitem.substr(curitem.find_first_of('@') + 1));
|
||||
|
||||
nextItem();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue