minor change to compare function usage

git-svn-id: http://svn.osgeo.org/qgis/trunk@5453 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
g_j_m 2006-05-14 06:17:13 +00:00
parent d9f893f98e
commit aecc87d918

View File

@ -4413,7 +4413,7 @@ QMenu* QgisApp::getPluginMenu(QString menuName)
// This bit of code assumes that the menu items are already in
// alphabetical order, which they will be if the menus are all
// created using this function.
if (QString::localeAwareCompare(menuName, actions.at(i)->text()) <= 0)
if (menuName.localeAwareCompare(actions.at(i)->text()) <= 0)
before = actions.at(i);
}