From cc9b6071056083210d053c78c55f9640ea415078 Mon Sep 17 00:00:00 2001
From: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Date: Thu, 25 Feb 2010 14:51:58 +0100
Subject: [PATCH] Fix locator filter order.

---
 src/plugins/locator/locatorplugin.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/plugins/locator/locatorplugin.cpp b/src/plugins/locator/locatorplugin.cpp
index 2f216f1eac7..dfcfa5a88fa 100644
--- a/src/plugins/locator/locatorplugin.cpp
+++ b/src/plugins/locator/locatorplugin.cpp
@@ -68,6 +68,8 @@ namespace {
     {
         if (first->priority() < second->priority())
             return true;
+        if (first->priority() > second->priority())
+            return false;
         if (first->id().compare(second->id(), Qt::CaseInsensitive) < 0)
             return true;
         return false;
-- 
GitLab