From 0fa4c27c66baf4ce1025dd6e2b034bad25deeea6 Mon Sep 17 00:00:00 2001 From: Andreas Hartmetz Date: Fri, 7 Apr 2017 19:35:14 +0200 Subject: [PATCH] Fix build: Compare non-const iterator with non-const iterator ...maybe this is not an error with all compiler / Qt configurations --- screenedge.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screenedge.cpp b/screenedge.cpp index 2a85a8b4a9..269900a611 100644 --- a/screenedge.cpp +++ b/screenedge.cpp @@ -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) {