mirror of
https://github.com/gtalent/sc9k.git
synced 2025-01-23 00:33:36 -06:00
Cleanup MainWindow includes and destructor
This commit is contained in:
parent
83168a440e
commit
79982c5c2c
@ -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);
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user