summaryrefslogtreecommitdiff
path: root/src/touchmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-04 00:32:54 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-04 00:32:54 +0300
commitcad3b1d8688b94b185ada0f0b313435ac4b3b457 (patch)
treea27c65075d745208bd8ba1029762507abf740db8 /src/touchmanager.cpp
parentdc599c219c283a4f7517c8ffe1e781b9847ef045 (diff)
downloadmanaverse-cad3b1d8688b94b185ada0f0b313435ac4b3b457.tar.gz
manaverse-cad3b1d8688b94b185ada0f0b313435ac4b3b457.tar.bz2
manaverse-cad3b1d8688b94b185ada0f0b313435ac4b3b457.tar.xz
manaverse-cad3b1d8688b94b185ada0f0b313435ac4b3b457.zip
fix code style.
Diffstat (limited to 'src/touchmanager.cpp')
-rw-r--r--src/touchmanager.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/touchmanager.cpp b/src/touchmanager.cpp
index ad958ba82..57e763c8d 100644
--- a/src/touchmanager.cpp
+++ b/src/touchmanager.cpp
@@ -382,6 +382,7 @@ void TouchManager::loadButtons()
{
// 2x1
case 0:
+ default:
{
loadTouchItem(&mButtons[1], "dbutton.xml", "dbutton_image.xml",
x, y, sz, sz, RIGHT, "screenActionButton1", "");
@@ -468,8 +469,9 @@ void TouchManager::loadButtons()
loadTouchItem(&mButtons[11], "dbutton.xml",
"dbutton_image.xml", x, y, sz, sz, RIGHT,
"screenActionButton11", "");
- loadTouchItem(&mButtons[10], "dbutton.xml", "dbutton_image.xml",
- skipWidth, y, sz, sz, RIGHT, "screenActionButton10", "");
+ loadTouchItem(&mButtons[10], "dbutton.xml",
+ "dbutton_image.xml", skipWidth, y, sz, sz, RIGHT,
+ "screenActionButton10", "");
loadTouchItem(&mButtons[9], "dbutton.xml", "dbutton_image.xml",
skipWidth2, y, sz, sz, RIGHT, "screenActionButton9", "");
loadTouchItem(&mButtons[8], "dbutton.xml", "dbutton_image.xml",