diff --git a/sdrbase/mainwindow.cpp b/sdrbase/mainwindow.cpp index c52afbd5a..f06d1e67e 100644 --- a/sdrbase/mainwindow.cpp +++ b/sdrbase/mainwindow.cpp @@ -25,6 +25,7 @@ #include #include #include +#include #include "mainwindow.h" #include "ui_mainwindow.h" @@ -173,6 +174,9 @@ MainWindow::~MainWindow() m_dspEngine->stopAllDeviceEngines(); + delete m_dateTimeWidget; + delete m_showSystemWidget; + delete ui; } @@ -260,6 +264,9 @@ void MainWindow::savePresetSettings(Preset* preset) void MainWindow::createStatusBar() { + m_showSystemWidget = new QLabel("SDRangel v2.0.0 " + QSysInfo::prettyProductName(), this); + statusBar()->addPermanentWidget(m_showSystemWidget); + m_dateTimeWidget = new QLabel(tr("Date"), this); m_dateTimeWidget->setToolTip(tr("Current date/time")); statusBar()->addPermanentWidget(m_dateTimeWidget); diff --git a/sdrbase/mainwindow.h b/sdrbase/mainwindow.h index 6e2cc968e..bb6b10586 100644 --- a/sdrbase/mainwindow.h +++ b/sdrbase/mainwindow.h @@ -105,6 +105,7 @@ private: int m_lastEngineState; QLabel* m_dateTimeWidget; + QLabel* m_showSystemWidget; QWidget* m_inputGUI;