diff --git a/src/widget/form/settings/avform.cpp b/src/widget/form/settings/avform.cpp index 7d0498cc2..88f10277c 100644 --- a/src/widget/form/settings/avform.cpp +++ b/src/widget/form/settings/avform.cpp @@ -235,6 +235,10 @@ void AVForm::updateVideoModes(int curIndex) { int i = iter->second; VideoMode mode = allVideoModes[i]; + + if (videoModes.contains(mode)) + continue; + videoModes.append(mode); if (mode.width==prefRes.width() && mode.height==prefRes.height() && mode.FPS == prefFPS && prefResIndex==-1) prefResIndex = videoModes.size() - 1;