equal
deleted
inserted
replaced
220 { |
220 { |
221 if (cmd.startsWith(matchMe, Qt::CaseInsensitive)) |
221 if (cmd.startsWith(matchMe, Qt::CaseInsensitive)) |
222 { |
222 { |
223 match = cmd; |
223 match = cmd; |
224 |
224 |
225 // move match to end so next time new matches will be prefered |
225 // move match to end so next time new matches will be preferred |
226 if (m_cmds->removeAll(cmd) > 0); |
226 if (m_cmds->removeAll(cmd) > 0); |
227 m_cmds->append(cmd); |
227 m_cmds->append(cmd); |
228 |
228 |
229 break; |
229 break; |
230 } |
230 } |