comparison widgets/TipDialog.cpp @ 1414:fa986b91d77f

Merge from branch fix-static-analysis
author Chris Cannam
date Wed, 09 Jan 2019 15:24:51 +0000
parents c8a6fd3f9dff
children
comparison
equal deleted inserted replaced
1413:0930a27ebea2 1414:fa986b91d77f
29 #include <iostream> 29 #include <iostream>
30 30
31 TipDialog::TipDialog(QWidget *parent) : 31 TipDialog::TipDialog(QWidget *parent) :
32 QDialog(parent), 32 QDialog(parent),
33 m_tipNumber(0), 33 m_tipNumber(0),
34 m_label(0), 34 m_label(nullptr),
35 m_caption(tr("Tip of the Day")) 35 m_caption(tr("Tip of the Day"))
36 { 36 {
37 readTips(); 37 readTips();
38 38
39 QSettings settings; 39 QSettings settings;