QHeaderView - remove stupid if
authorThorbjørn Lund Martsum <tmartsum@gmail.com>
Thu, 15 Dec 2011 06:32:15 +0000 (07:32 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 15 Dec 2011 14:39:24 +0000 (15:39 +0100)
commitf405a57fa147d36dc2ac161800eb4339ee748e37
treed7332a23f1553ac4131925b2072d43bb6ff859fa
parent81a825ea9b124e5b35a3aeac9a738bff0a4da923
QHeaderView - remove stupid if

Not only is this extra if unnecesary - it is confusing.
oldSize is different from size.
(otherwise we would have returned less than 10 lines above)

Change-Id: Ie911414f679df2be7b5c8bc2670225d46e986b32
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
src/widgets/itemviews/qheaderview.cpp