| 5 | HelpWindow* HelpWindow::self = nullptr; |
| 6 | |
| 7 | HelpWindow::HelpWindow(QWidget *parent) : |
| 8 | QDialog(parent), |
| 9 | ui(new Ui::HelpWindow) |
| 10 | { |
| 11 | ui->setupUi(this); |
| 12 | setWindowFlags(Qt::Window); |
| 13 | |
| 14 | m_helpEngine = new QHelpEngineCore(QApplication::applicationDirPath() +"/SavvyCAN.qhc", this); |
| 15 | if (!m_helpEngine->setupData()) { |
| 16 | delete m_helpEngine; |
| 17 | m_helpEngine = nullptr; |
| 18 | qDebug() << "Could not load help file!"; |
| 19 | } |
| 20 | |
| 21 | readSettings(); |
| 22 | } |
| 23 | |
| 24 | HelpWindow::~HelpWindow() |
| 25 | { |
nothing calls this directly
no outgoing calls
no test coverage detected