From 6a161b532e8cbe42fba85263e463070ea68a31e7 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 27 Jan 2015 20:11:43 -0800 Subject: Fix UI issues and warning Commit e219bc70f863 ("Refactor dctype -> divemode") introduced a few issues. For one thing it causes a warning about incorrect use of zorder - I don't see why this would be needed here, so I simply removed it. Secondly, it adds a new, automatically named layout element that therefore gets handled by our "consistent margin" code which creates a messy layout for the Dive Notes tab. This patch gives that horizontal layout a useful name and adds it to the list of "zero margin" layouts. Signed-off-by: Dirk Hohndel Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui/mainwindow.cpp') diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 5d5a442f4..d13585788 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -127,6 +127,7 @@ MainWindow::MainWindow() : QMainWindow(), QMargins zeroMargins(0, 0, 0, 0); QList noMarginList; noMarginList << "notesAndSocialNetworksLayout" << + "coordinatesDiveTypeLayout" << "mainTabOuterLayout" << "ratingVisibilityWidgets" << "temperatureLabels" << -- cgit v1.2.3-70-g09d2