From: Michal MalĂ˝ Date: Sat, 7 Mar 2015 15:37:42 +0000 (+0100) Subject: Coding style fixes in mainwindow.cpp X-Git-Tag: 0.4a~8 X-Git-Url: https://gitweb.devoid-pointer.net/?a=commitdiff_plain;h=060b8f9c9a50a7e8d9cfef42f981fff88fcc2c67;p=anyanka.git Coding style fixes in mainwindow.cpp --- 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);