diff options
author | Simon Rettberg | 2019-02-19 14:28:32 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-02-19 14:28:32 +0100 |
commit | 00f225b0136a0b690283aaaa1a05ec033e5ad232 (patch) | |
tree | 868ede38bdd981e9359725dfd261601372b5db6b | |
parent | Also handle special EDID case for init GUI (diff) | |
download | beamergui-00f225b0136a0b690283aaaa1a05ec033e5ad232.tar.gz beamergui-00f225b0136a0b690283aaaa1a05ec033e5ad232.tar.xz beamergui-00f225b0136a0b690283aaaa1a05ec033e5ad232.zip |
Fix things that I don't know how they even broke
-rw-r--r-- | src/xx.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -148,8 +148,8 @@ ScreenInfo ScreenSetup::initScreenInfo(const OutputInfo *oi) const si.currentResolution = QSize(QSize(int(oi->mode->width), int(oi->mode->height))); } for (int i = 0; i < oi->output->nmode; ++i) { - if (a->_outputMap.contains(oi->output->modes[i])) { - auto m = a->_outputMap.value(oi->output->modes[i])->mode; + if (a->_modeMap.contains(oi->output->modes[i])) { + auto m = a->_modeMap.value(oi->output->modes[i]); const QSize size(int(m->width), int(m->height)); if (!si.modes.contains(size)) { si.modes.append(size); |