Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KScreen
Commits
8c1e2cff
Commit
8c1e2cff
authored
May 05, 2022
by
Xaver Hugl
Browse files
kcm: fix refresh rate list not being updated
BUG: 453392
parent
15056b99
Pipeline
#172239
passed with stage
in 2 minutes and 40 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
kcm/output_model.cpp
View file @
8c1e2cff
...
...
@@ -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
;
}
...
...
Xaver Hugl
@zamundaaa
mentioned in commit
584ed8a0
·
May 06, 2022
mentioned in commit
584ed8a0
mentioned in commit 584ed8a067a7c0329e1572dd9970b6e3dae6a56f
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment