Fixed up a bunch of compiler warnings.

There should be no functional difference, just less noise when compiling
This commit is contained in:
Collin Kidder
2019-08-08 21:15:51 -04:00
parent 27fa8e6c8b
commit e7e65b7216
27 changed files with 187 additions and 187 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
#include <QDebug>
#include <QtDebug>
#include "helpwindow.h"
#include "ui_helpwindow.h"
HelpWindow* HelpWindow::self = 0;
HelpWindow* HelpWindow::self = nullptr;
HelpWindow::HelpWindow(QWidget *parent) :
QDialog(parent),
@@ -14,7 +14,7 @@ HelpWindow::HelpWindow(QWidget *parent) :
m_helpEngine = new QHelpEngineCore(QApplication::applicationDirPath() +"/SavvyCAN.qhc", this);
if (!m_helpEngine->setupData()) {
delete m_helpEngine;
m_helpEngine = 0;
m_helpEngine = nullptr;
qDebug() << "Could not load help file!";
}