change a method signature
This commit is contained in:
+2
-1
@@ -282,8 +282,9 @@ QVariant CANFrameModel::headerData(int section, Qt::Orientation orientation,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void CANFrameModel::addFrame(CANFrame frame, bool autoRefresh = false)
|
void CANFrameModel::addFrame(CANFrame& frame, bool autoRefresh = false)
|
||||||
{
|
{
|
||||||
|
/*TODO: remove mutex */
|
||||||
mutex.lock();
|
mutex.lock();
|
||||||
CANFrame tempFrame;
|
CANFrame tempFrame;
|
||||||
tempFrame = frame;
|
tempFrame = frame;
|
||||||
|
|||||||
+1
-1
@@ -46,7 +46,7 @@ public:
|
|||||||
const QMap<int, bool> *getFiltersReference() const; //this neither
|
const QMap<int, bool> *getFiltersReference() const; //this neither
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
void addFrame(CANFrame, bool);
|
void addFrame(CANFrame&, bool);
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void updatedFiltersList();
|
void updatedFiltersList();
|
||||||
|
|||||||
Reference in New Issue
Block a user