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();
|
||||
CANFrame tempFrame;
|
||||
tempFrame = frame;
|
||||
|
||||
+1
-1
@@ -46,7 +46,7 @@ public:
|
||||
const QMap<int, bool> *getFiltersReference() const; //this neither
|
||||
|
||||
public slots:
|
||||
void addFrame(CANFrame, bool);
|
||||
void addFrame(CANFrame&, bool);
|
||||
|
||||
signals:
|
||||
void updatedFiltersList();
|
||||
|
||||
Reference in New Issue
Block a user