kopia lustrzana https://gitlab.com/eliggett/wfview
Finally fix compile warning!
rodzic
b6d9c26ebb
commit
d9190a5060
|
@ -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");
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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"));
|
||||
|
|
Ładowanie…
Reference in New Issue