make cppcheck happier in the gui ;-)
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
MyActionButton::MyActionButton(QGroupBox* parent)
|
MyActionButton::MyActionButton(QGroupBox* parent)
|
||||||
: QPushButton(parent)
|
: QPushButton(parent), myStyle(NULL)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,27 @@ using namespace std;
|
|||||||
MyChanceLabel::MyChanceLabel(QWidget* parent)
|
MyChanceLabel::MyChanceLabel(QWidget* parent)
|
||||||
: QLabel(parent), myW(0), myStyle(0)
|
: 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()
|
MyChanceLabel::~MyChanceLabel()
|
||||||
@@ -163,4 +183,4 @@ void MyChanceLabel::resetChance()
|
|||||||
HCChance[1] = 0;
|
HCChance[1] = 0;
|
||||||
|
|
||||||
update();
|
update();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
#include "gametablestylereader.h"
|
#include "gametablestylereader.h"
|
||||||
|
|
||||||
MyNameLabel::MyNameLabel(QGroupBox* parent)
|
MyNameLabel::MyNameLabel(QGroupBox* parent)
|
||||||
: QLabel(parent)
|
: QLabel(parent), myW(0)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
MySetLabel::MySetLabel(QGroupBox* parent)
|
MySetLabel::MySetLabel(QGroupBox* parent)
|
||||||
: QLabel(parent)
|
: QLabel(parent), myW(0)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user