Call effectiveSizeHint(Qt::MinimumSize).width instead of minimumWidth()
authorJan-Arve Sæther <jan-arve.saether@nokia.com>
Fri, 18 Sep 2009 09:24:44 +0000 (11:24 +0200)
committerJan-Arve Sæther <jan-arve.saether@nokia.com>
Fri, 18 Sep 2009 10:35:47 +0000 (12:35 +0200)
commit9c62a7d9f0f8a02ad6c445b82a50eccb3c51a378
treef74dac8ed97368dd7af703392fdf4e2c0157e8c0
parent5a201476f209ad0a39cf2240a996239f7074f86e
Call effectiveSizeHint(Qt::MinimumSize).width instead of minimumWidth()

Small refactoring, since the two code blocks were almost the same.

Reviewed-by: leo
src/gui/graphicsview/qgraphicsanchorlayout_p.cpp