This commit is contained in:
2026-02-14 14:31:19 +01:00
parent 5cb5a1e52b
commit 3e4ffef1a7
+2 -1
View File
@@ -1,7 +1,8 @@
#include "visa.hpp" #include "visa.hpp"
#include <QCoreApplication> #include <QCoreApplication>
Visa::Visa(QObject *parent) : QObject(parent), m_connected(false), m_reconnect(false), m_data_ready(false) Visa::Visa(QObject *parent)
: QObject(parent), m_tcp_socket(new QTcpSocket(this)), m_connected(false), m_reconnect(false), m_data_ready(false)
{ {
QObject::connect(&m_client, &Tcp_client::connected, this, [=, this] { QObject::connect(&m_client, &Tcp_client::connected, this, [=, this] {
m_connected = true; m_connected = true;