summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r--qt-ui/mainwindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 08b228d4a..500c0508a 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -141,6 +141,8 @@ MainWindow::MainWindow() : QMainWindow(),
QMargins margins(5, 5, 5, 5);
QList<QString> dontChange;
dontChange << "notesAndSocialNetworksLayout" <<
+ "mainTabOuterLayout" <<
+ "ratingVisibilityWidgets" <<
"profileInnerLayout";
Q_FOREACH (QLayout *layout, findChildren<QLayout *>()) {
// lots of internally used layouts by Qt have no names
@@ -155,6 +157,8 @@ MainWindow::MainWindow() : QMainWindow(),
}
margins = QMargins(0, 5, 5, 5);
ui.profileInnerLayout->setContentsMargins(margins);
+ margins = QMargins(5, 5, 0, 5);
+ ui.profileOuterLayout->setContentsMargins(margins);
updateManager = new UpdateManager(this);
}