diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 0600282..15c9139 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -8,11 +8,9 @@ #include #include -#include #include #include #include -#include #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); diff --git a/src/mainwindow.hpp b/src/mainwindow.hpp index edd715b..3db2886 100644 --- a/src/mainwindow.hpp +++ b/src/mainwindow.hpp @@ -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();