From 8e8e884968e73f63ca30d0ac9f16045ebc3a18ba Mon Sep 17 00:00:00 2001 From: nowrep Date: Sun, 6 Nov 2011 19:46:03 +0100 Subject: [PATCH] Removed .orig copies of source files I hope this will be last ... --- scripts/coding_style.sh | 2 ++ src/tools/buttonwithmenu.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/coding_style.sh b/scripts/coding_style.sh index 5f0ddd0e0..e1f127c59 100755 --- a/scripts/coding_style.sh +++ b/scripts/coding_style.sh @@ -23,5 +23,7 @@ astyle --indent=spaces=4 --style=linux \ --align-pointer=type --align-reference=name \ `find -type f -name '*.h'` +rm */*.orig + read -p "Press [ENTER] to close terminal" exit diff --git a/src/tools/buttonwithmenu.cpp b/src/tools/buttonwithmenu.cpp index 815914b12..20e4f86b5 100644 --- a/src/tools/buttonwithmenu.cpp +++ b/src/tools/buttonwithmenu.cpp @@ -114,7 +114,7 @@ void ButtonWithMenu::wheelEvent(QWheelEvent* event) } } else if (currItemIndex < itemsCount - 1) { - setCurrentItem(m_items.at(currItemIndex + 1)); + setCurrentItem(m_items.at(currItemIndex + 1)); } event->accept();