升级到c++11,在存图文件夹不存在时自动创建,修复大量以byte为变量名的问题
This commit is contained in:
@@ -488,12 +488,12 @@ void Logic_camera_thread::setMutex(QMutex *mutex)
|
||||
m_mutex = new QMutex;// mutex;
|
||||
}
|
||||
|
||||
bool Logic_camera_thread::sendDataCommond( QString m_type,cv::Mat mat,QByteArray byte )
|
||||
bool Logic_camera_thread::sendDataCommond( QString m_type,cv::Mat mat,QByteArray byteArray )
|
||||
{
|
||||
QMutexLocker locker(m_mutex);
|
||||
dataPack m_pack;
|
||||
m_pack.mat = mat;
|
||||
m_pack.byte = byte;
|
||||
m_pack.byteArray = byteArray;
|
||||
m_pack.retFlag = m_type;
|
||||
m_pack.cameraName = m_name;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user