make cppcheck happier in the gui ;-)

This commit is contained in:
doitux
2010-10-28 08:19:52 +00:00
parent edad47b7f4
commit b6a9ac4e02
4 changed files with 24 additions and 4 deletions
+1 -1
View File
@@ -15,7 +15,7 @@
using namespace std;
MyActionButton::MyActionButton(QGroupBox* parent)
: QPushButton(parent)
: QPushButton(parent), myStyle(NULL)
{
}
+20
View File
@@ -18,7 +18,27 @@ using namespace std;
MyChanceLabel::MyChanceLabel(QWidget* parent)
: QLabel(parent), myW(0), myStyle(0)
{
RFChance[0] = 0;
SFChance[0] = 0;
FOAKChance[0] = 0;
FHChance[0] = 0;
FLChance[0] = 0;
STRChance[0] = 0;
TOAKChance[0] = 0;
TPChance[0] = 0;
OPChance[0] = 0;
HCChance[0] = 0;
RFChance[1] = 0;
SFChance[1] = 0;
FOAKChance[1] = 0;
FHChance[1] = 0;
FLChance[1] = 0;
STRChance[1] = 0;
TOAKChance[1] = 0;
TPChance[1] = 0;
OPChance[1] = 0;
HCChance[1] = 0;
}
MyChanceLabel::~MyChanceLabel()
+1 -1
View File
@@ -15,7 +15,7 @@
#include "gametablestylereader.h"
MyNameLabel::MyNameLabel(QGroupBox* parent)
: QLabel(parent)
: QLabel(parent), myW(0)
{
}
+1 -1
View File
@@ -16,7 +16,7 @@
using namespace std;
MySetLabel::MySetLabel(QGroupBox* parent)
: QLabel(parent)
: QLabel(parent), myW(0)
{
}