From 060b8f9c9a50a7e8d9cfef42f981fff88fcc2c67 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michal=20Mal=C3=BD?= Date: Sat, 7 Mar 2015 16:37:42 +0100 Subject: [PATCH] Coding style fixes in mainwindow.cpp --- gui/mainwindow.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index 4d2235c..e97b2c8 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -26,7 +26,7 @@ #include "usersettings.h" #include -MainWindow::MainWindow(QWidget *parent) : +MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent), ui(new Ui::MainWindow) { @@ -100,12 +100,12 @@ void MainWindow::onAddToDashboard(SignalView* sw) /* Fix for invisible Splitter handle on Windows */ #ifdef Q_OS_WIN - QSplitterHandle *handle = m_dashboard->handle(m_dashboard->count()-1); - QVBoxLayout *layout = new QVBoxLayout(handle); + QSplitterHandle* handle = m_dashboard->handle(m_dashboard->count()-1); + QVBoxLayout* layout = new QVBoxLayout(handle); layout->setSpacing(0); layout->setMargin(0); - QFrame *line = new QFrame(handle); + QFrame* line = new QFrame(handle); line->setFrameShape(QFrame::HLine); line->setFrameShadow(QFrame::Sunken); layout->addWidget(line); @@ -133,7 +133,7 @@ void MainWindow::onSetActiveSingleRunKey(const std::string& key) ui->qcbox_singleRun->setCurrentIndex(idx); } -void MainWindow::onSetSingleRunInfo(const QString &method, const QString &operatorname, const QString &sample, const QString &datetime) +void MainWindow::onSetSingleRunInfo(const QString& method, const QString& operatorname, const QString& sample, const QString& datetime) { ui->qle_methodName->setText(method); ui->qle_operatorName->setText(operatorname); -- 2.43.5