diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-05-25 13:58:48 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-05-25 17:42:35 -0700 |
commit | 7d1df992fae41241266dc068cefb1f2c2670c745 (patch) | |
tree | bcc163002bddba554448ae440fd01e81dedfd8ea /save-html.c | |
parent | 0fdb87b011c4980bd403bb6b224e328b279f002e (diff) | |
download | subsurface-7d1df992fae41241266dc068cefb1f2c2670c745.tar.gz |
Layout issues: Remove auto layout management from mainwindow.cpp
While this worked for a bit, it was very error prone as it relied in
layout having specific names, and layouts in the .ui files are treated as
substandard items. Every time a 'break layout' command is issues (and it's
issued quite a lot when trying to reorganize the items on the widget) all
layout items are removed and new ones are added later, without any of the
names.
Since the new layout can be different the old names are not usefull
anymore - and a clean compilation won't trigger a single warning either:
the name resolution is done at runtime and not at compile time, so it
would just fail silently.
Instead of brute-forcing each layout to have 0,0 or 5,5 margins, we should
put the correct values on the .ui files.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'save-html.c')
0 files changed, 0 insertions, 0 deletions