diff --git a/plugins/focuspoll/src/accessibilitywatcher.cpp b/plugins/focuspoll/src/accessibilitywatcher.cpp index 7f03900610098c3cdf93f9283351b0e171009dc8..bab211ced29bdf324c1514e4d5942898c64ce34c 100644 --- a/plugins/focuspoll/src/accessibilitywatcher.cpp +++ b/plugins/focuspoll/src/accessibilitywatcher.cpp @@ -487,13 +487,11 @@ AccessibilityWatcher::getKixCaret (FocusInfo& focus, const AtspiEvent* event, At { // remove the last 2 vector items, cause these change too fast pathFound.pop_back (); - pathFound.pop_back (); AccessibilityWatcher::getInstance ()->optimizedPaths.insert (AccessibilityWatcher::getInstance ()->optimizedPaths.begin (), pathFound); cleanupPaths(); } else { // add the found path to the base path, making it more precise pathFound.pop_back (); - pathFound.pop_back (); path.insert (path.begin (), pathFound.begin (), pathFound.end ()); } return true;