summaryrefslogtreecommitdiff
path: root/launcher
diff options
authorMC Return <mc.return@gmx.net>2012-07-30 18:28:58 +0200
committerMC Return <mc.return@gmx.net>2012-07-30 18:28:58 +0200
commitceaa4793eab7af83c4185de02467a0a8bda33c91 (patch)
treeda522214a6d510b984221ea1929fb7b8d80a4c1f /launcher
parent18e0fb9f6ec463462ffaba0e29cca0ac30e11346 (diff)
Fixed possible performance issue in LauncherController.cpp by replacement of postfix ++ operator with prefix one
(bzr r2528.1.5)
Diffstat (limited to 'launcher')
-rw-r--r--launcher/LauncherController.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/LauncherController.cpp b/launcher/LauncherController.cpp
index 49109c394..aeb62924c 100644
--- a/launcher/LauncherController.cpp
+++ b/launcher/LauncherController.cpp
@@ -940,7 +940,7 @@ bool Controller::HandleLauncherKeyEvent(Display *display, unsigned int key_sym,
LauncherModel::iterator it;
// Shortcut to start launcher icons. Only relies on Keycode, ignore modifier
- for (it = pimpl->model_->begin(); it != pimpl->model_->end(); it++)
+ for (it = pimpl->model_->begin(); it != pimpl->model_->end(); ++it)
{
if ((XKeysymToKeycode(display, (*it)->GetShortcut()) == key_code) ||
((gchar)((*it)->GetShortcut()) == key_string[0]))