fixed compile problem with gcc and inicialization in comodity plugin
This commit is contained in:
@@ -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
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user