From f0ae9007f666580259ca8c120f7aaee58a63f85a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 6 May 2012 18:03:52 +0300 Subject: Fix code style. --- src/itemshortcut.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/itemshortcut.cpp') diff --git a/src/itemshortcut.cpp b/src/itemshortcut.cpp index 9cce55eb7..aa78065c9 100644 --- a/src/itemshortcut.cpp +++ b/src/itemshortcut.cpp @@ -74,9 +74,8 @@ void ItemShortcut::load(bool oldConfig) } for (int i = 0; i < SHORTCUT_ITEMS; i++) { - int itemId = static_cast(cfg->getValue(name + toString(i), -1)); - int itemColor = static_cast( - cfg->getValue(color + toString(i), 1)); + int itemId = cfg->getValue(name + toString(i), -1); + int itemColor = cfg->getValue(color + toString(i), 1); mItems[i] = itemId; mItemColors[i] = itemColor; -- cgit v1.2.3-60-g2f50