views.status: Use QTreeWidget.indentation() instead of magic numbers
commitcf5fdeb99816e89901ca74417930f21fa783cf4a
authorDavid Aguilar <davvid@gmail.com>
Sat, 27 Feb 2010 12:17:55 +0000 (27 04:17 -0800)
committerDavid Aguilar <davvid@gmail.com>
Sat, 27 Feb 2010 12:17:55 +0000 (27 04:17 -0800)
treeba6d5aae0fda1abb36a52cbd0c462f08056e67c1
parent5eed0c51cd36b399a0dc283abbdecf2bdc56f763
views.status: Use QTreeWidget.indentation() instead of magic numbers

Qt knows the size of the tree widget's indentation so use a derived
value instead of hard-coding the x-offset to the icon.

Signed-off-by: David Aguilar <davvid@gmail.com>
cola/views/status.py