From 63eae7d6c90bf251c8ff46c3f3e4b760f3c6657e 2017-11-16 10:35:07 From: Alexandre Leroux Date: 2017-11-16 10:35:07 Subject: [PATCH] temp commit --- diff --git a/gui/src/DataSource/DataSourceWidget.cpp b/gui/src/DataSource/DataSourceWidget.cpp index 454f76b..85007a7 100644 --- a/gui/src/DataSource/DataSourceWidget.cpp +++ b/gui/src/DataSource/DataSourceWidget.cpp @@ -51,6 +51,7 @@ DataSourceWidget::DataSourceWidget(QWidget *parent) : QWidget{parent}, ui{new Ui // Connection to filter tree connect(ui->filterLineEdit, &QLineEdit::textChanged, this, &DataSourceWidget::filterChanged); + ui->filterLineEdit->setText("tha_ion_s"); } DataSourceWidget::~DataSourceWidget() noexcept diff --git a/gui/src/TimeWidget/TimeWidget.cpp b/gui/src/TimeWidget/TimeWidget.cpp index 050eae3..1a6bcc2 100644 --- a/gui/src/TimeWidget/TimeWidget.cpp +++ b/gui/src/TimeWidget/TimeWidget.cpp @@ -42,8 +42,8 @@ TimeWidget::TimeWidget(QWidget *parent) &TimeController::onTimeNotify); // Initialisation - auto endDateTime = QDateTime::currentDateTimeUtc(); - auto startDateTime = endDateTime.addSecs(-3600); // one hour before + auto endDateTime = QDateTime{QDate{2012, 12, 11}, QTime{0, 0}, Qt::UTC}; + auto startDateTime = QDateTime{QDate{2012, 12, 10}, QTime{0, 0}, Qt::UTC}; // one hour before ui->startDateTimeEdit->setDateTime(startDateTime); ui->endDateTimeEdit->setDateTime(endDateTime);