Finally fix compile warning!

knobtest
M0VSE 2022-09-23 17:18:42 +01:00
rodzic b6d9c26ebb
commit d9190a5060
3 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -2,9 +2,9 @@
#include "ui_loggingwindow.h"
loggingWindow::loggingWindow(QString logFilename, QWidget *parent) :
logFilename(logFilename),
QWidget(parent),
ui(new Ui::loggingWindow)
ui(new Ui::loggingWindow),
logFilename(logFilename)
{
ui->setupUi(this);
this->setWindowTitle("Log");

Wyświetl plik

@ -25,7 +25,7 @@ class loggingWindow : public QWidget
Q_OBJECT
public:
explicit loggingWindow(QString logFilename, QWidget *parent = NULL);
explicit loggingWindow(QString logFilename, QWidget *parent = 0);
~loggingWindow();
void acceptLogText(QString text);

Wyświetl plik

@ -21,9 +21,9 @@ bool debugModeLogging = false;
#endif
wfmain::wfmain(const QString serialPortCL, const QString hostCL, const QString settingsFile, const QString logFile, bool debugMode, QWidget *parent ) :
logFilename(logFile),
QMainWindow(parent),
ui(new Ui::wfmain)
ui(new Ui::wfmain),
logFilename(logFile)
{
QGuiApplication::setApplicationDisplayName("wfview");
QGuiApplication::setApplicationName(QString("wfview"));