diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-30 22:53:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-31 12:50:04 +0300 |
commit | 85c5fc06d49e8309d273873d31448688bd494d49 (patch) | |
tree | 80d83e16ef273c147b0d1915edca44baf6899933 /src/gui/setup_input.cpp | |
parent | 60d90692e487948b77edcac63acbef34254cea5b (diff) | |
download | plus-85c5fc06d49e8309d273873d31448688bd494d49.tar.gz plus-85c5fc06d49e8309d273873d31448688bd494d49.tar.bz2 plus-85c5fc06d49e8309d273873d31448688bd494d49.tar.xz plus-85c5fc06d49e8309d273873d31448688bd494d49.zip |
fix code style and some minor issues.
Diffstat (limited to 'src/gui/setup_input.cpp')
-rw-r--r-- | src/gui/setup_input.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/setup_input.cpp b/src/gui/setup_input.cpp index d4d86ce61..0b0fd70de 100644 --- a/src/gui/setup_input.cpp +++ b/src/gui/setup_input.cpp @@ -104,6 +104,7 @@ Setup_Input::Setup_Input(const Widget2 *const widget) : // TRANSLATORS: button in input settings tab mResetKeysButton(new Button(this, _("Reset all keys"), "resetkeys", this)), mTabs(new TabStrip(this, config.getIntValue("fontSize") + 10)), + mScrollArea(new ScrollArea(mKeyList, true, "setup_input_background.xml")), mKeySetting(false), mActionDataSize(new int [9]) { @@ -125,8 +126,6 @@ Setup_Input::Setup_Input(const Widget2 *const widget) : refreshKeys(); mKeyList->addActionListener(this); - mScrollArea = new ScrollArea(mKeyList, - true, "setup_input_background.xml"); mScrollArea->setHorizontalScrollPolicy(ScrollArea::SHOW_NEVER); mAssignKeyButton->addActionListener(this); mAssignKeyButton->setEnabled(false); |