fixed compile problem with gcc and inicialization in comodity plugin

print
Zdenek Jonak 9 years ago
parent c12a1231c0
commit ffcf753acb

@ -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
{ {

@ -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;
} }

Loading…
Cancel
Save