Fix the folder option button click
authorJocelyn Turcotte <jturcotte@woboq.com>
Wed, 13 Jan 2016 10:42:49 +0000 (11:42 +0100)
committerJocelyn Turcotte <jturcotte@woboq.com>
Wed, 13 Jan 2016 10:44:36 +0000 (11:44 +0100)
commit31da3e98c91facc27bf240b52d2fd26883df6a27
treed9666ee0570af41969ed2d6ab6784eb232301ac0
parent272755e1ec4856f3baa32bb6269c73feef6cbbd5
Fix the folder option button click

The height adjustment done to place the button in the middle of the
non-error area was only done for rendering. Make sure that we do the
same adjustment when mapping click events as well.

Also replace some wrong occurences of aliasMargin*2 for margin.
src/gui/folderstatusdelegate.cpp
src/gui/folderstatusdelegate.h