mirror of
https://github.com/gtalent/sc9k.git
synced 2025-05-10 20:11:38 -05:00
Cleanup MainWindow includes and destructor
This commit is contained in:
parent
83168a440e
commit
79982c5c2c
@ -8,11 +8,9 @@
|
|||||||
|
|
||||||
#include <QFormLayout>
|
#include <QFormLayout>
|
||||||
#include <QHBoxLayout>
|
#include <QHBoxLayout>
|
||||||
#include <QLabel>
|
|
||||||
#include <QLineEdit>
|
#include <QLineEdit>
|
||||||
#include <QPushButton>
|
#include <QPushButton>
|
||||||
#include <QStatusBar>
|
#include <QStatusBar>
|
||||||
#include <QVBoxLayout>
|
|
||||||
|
|
||||||
#include "slideview.hpp"
|
#include "slideview.hpp"
|
||||||
#include "mainwindow.hpp"
|
#include "mainwindow.hpp"
|
||||||
@ -80,9 +78,6 @@ MainWindow::MainWindow(QWidget *parent): QMainWindow(parent) {
|
|||||||
refreshStatusBar();
|
refreshStatusBar();
|
||||||
}
|
}
|
||||||
|
|
||||||
MainWindow::~MainWindow() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void MainWindow::openLpConnectionInit() {
|
void MainWindow::openLpConnectionInit() {
|
||||||
disconnect(&m_openlpClient, &OpenLPClient::pollUpdate, this, &MainWindow::openLpConnectionInit);
|
disconnect(&m_openlpClient, &OpenLPClient::pollUpdate, this, &MainWindow::openLpConnectionInit);
|
||||||
connect(&m_openlpClient, &OpenLPClient::pollFailed, this, &MainWindow::openLpConnectionLost);
|
connect(&m_openlpClient, &OpenLPClient::pollFailed, this, &MainWindow::openLpConnectionLost);
|
||||||
|
@ -25,8 +25,8 @@ class MainWindow: public QMainWindow {
|
|||||||
bool m_obsConnected = false;
|
bool m_obsConnected = false;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
MainWindow(QWidget *parent = nullptr);
|
explicit MainWindow(QWidget *parent = nullptr);
|
||||||
~MainWindow();
|
~MainWindow() override = default;
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void openLpConnectionInit();
|
void openLpConnectionInit();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user