From 5c092baf37dcb1419601d5de13666ec7aa5b1a19 Mon Sep 17 00:00:00 2001 From: Martin Ribelotta Date: Mon, 27 Mar 2017 21:29:22 -0300 Subject: [PATCH] Minor style changes Signed-off-by: Martin Ribelotta --- loggerwidget.cpp | 2 +- mainwindow.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/loggerwidget.cpp b/loggerwidget.cpp index 9eb65eb..8c45ff3 100644 --- a/loggerwidget.cpp +++ b/loggerwidget.cpp @@ -89,7 +89,7 @@ LoggerWidget::LoggerWidget(QWidget *parent) : emit openEditorIn(url.toLocalFile(), col, row); }); - hlayout->setContentsMargins(1, 1, 6, 0); + hlayout->setContentsMargins(1, 1, 1, 1); hlayout->setSpacing(1); hlayout->addWidget(view); vlayout->addWidget(clearConsole); diff --git a/mainwindow.cpp b/mainwindow.cpp index 28853e3..5bf9f6f 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -161,6 +161,8 @@ MainWindow::MainWindow(QWidget *parent) : setUpProxy(); statusBar()->showMessage(tr("Application ready..."), 1500); statusBar()->hide(); + foreach(QToolButton *b, findChildren()) + b->setAutoRaise(true); } MainWindow::~MainWindow()