Fix build: Compare non-const iterator with non-const iterator
...maybe this is not an error with all compiler / Qt configurations
This commit is contained in:
parent
1648844005
commit
0fa4c27c66
1 changed files with 1 additions and 1 deletions
|
@ -833,7 +833,7 @@ void ScreenEdges::setActionForTouchBorder(ElectricBorder border, ElectricBorderA
|
|||
{
|
||||
auto it = m_touchActions.find(border);
|
||||
ElectricBorderAction oldValue = ElectricActionNone;
|
||||
if (it != m_touchActions.constEnd()) {
|
||||
if (it != m_touchActions.end()) {
|
||||
oldValue = it.value();
|
||||
}
|
||||
if (oldValue == newValue) {
|
||||
|
|
Loading…
Reference in a new issue