Commit 584ed8a0 authored by Xaver Hugl's avatar Xaver Hugl
Browse files

kcm: fix refresh rate list not being updated

BUG: 453392


(cherry picked from commit 8c1e2cff)
parent d02ad982
Pipeline #172456 passed with stage
in 1 minute and 55 seconds
......@@ -417,7 +417,7 @@ bool OutputModel::setResolution(int outputIndex, int resIndex)
QModelIndex index = createIndex(outputIndex, 0);
// Calling this directly ignores possible optimization when the
// refresh rate hasn't changed in fact. But that's ok.
Q_EMIT dataChanged(index, index, {ResolutionIndexRole, ResolutionRole, SizeRole, RefreshRateIndexRole});
Q_EMIT dataChanged(index, index, {ResolutionIndexRole, ResolutionRole, SizeRole, RefreshRatesRole, RefreshRateIndexRole});
Q_EMIT sizeChanged();
return true;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment