fixed compile problem with gcc and inicialization in comodity plugin

This commit is contained in:
Zdenek Jonak
2016-03-09 20:27:05 +01:00
parent c12a1231c0
commit ffcf753acb
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -4,6 +4,8 @@
CommodityData::CommodityData(QObject *parent) CommodityData::CommodityData(QObject *parent)
:QObject(parent) :QObject(parent)
{ {
m_count = 0;
m_price = 0;
} }
int CommodityData::id() const int CommodityData::id() const
{ {
+1 -1
View File
@@ -17,7 +17,7 @@ class AutoForm : public FormBinder<T>
{ {
public: public:
explicit AutoForm(QWidget *parent = 0) { explicit AutoForm(QWidget *parent = 0) {
setParent(parent); this->setParent(parent);
m_serviceConnected = false; m_serviceConnected = false;
m_saved = false; m_saved = false;
} }