diff options
| author | MC Return <mc.return@gmx.net> | 2012-07-30 18:28:58 +0200 |
|---|---|---|
| committer | MC Return <mc.return@gmx.net> | 2012-07-30 18:28:58 +0200 |
| commit | ceaa4793eab7af83c4185de02467a0a8bda33c91 (patch) | |
| tree | da522214a6d510b984221ea1929fb7b8d80a4c1f /launcher | |
| parent | 18e0fb9f6ec463462ffaba0e29cca0ac30e11346 (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.cpp | 2 |
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])) |
