Cleanup MainWindow includes and destructor

This commit is contained in:
Gary Talent 2021-07-28 01:54:47 -05:00
parent 83168a440e
commit 79982c5c2c
2 changed files with 2 additions and 7 deletions

View File

@ -8,11 +8,9 @@
#include <QFormLayout>
#include <QHBoxLayout>
#include <QLabel>
#include <QLineEdit>
#include <QPushButton>
#include <QStatusBar>
#include <QVBoxLayout>
#include "slideview.hpp"
#include "mainwindow.hpp"
@ -80,9 +78,6 @@ MainWindow::MainWindow(QWidget *parent): QMainWindow(parent) {
refreshStatusBar();
}
MainWindow::~MainWindow() {
}
void MainWindow::openLpConnectionInit() {
disconnect(&m_openlpClient, &OpenLPClient::pollUpdate, this, &MainWindow::openLpConnectionInit);
connect(&m_openlpClient, &OpenLPClient::pollFailed, this, &MainWindow::openLpConnectionLost);

View File

@ -25,8 +25,8 @@ class MainWindow: public QMainWindow {
bool m_obsConnected = false;
public:
MainWindow(QWidget *parent = nullptr);
~MainWindow();
explicit MainWindow(QWidget *parent = nullptr);
~MainWindow() override = default;
private slots:
void openLpConnectionInit();