Merge branch 'master' of github.com:collin80/SavvyCAN

This commit is contained in:
Collin Kidder
2022-10-04 19:59:46 -04:00
30 changed files with 676 additions and 138 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
#define SNIFFERITEM_H
#include <QVariant>
#include <QTime>
#include <QElapsedTimer>
#include "can_structs.h"
struct fstCan
@@ -50,7 +50,7 @@ private:
quint64 mCurrentTime;
quint64 mCurrSeqVal;
QTime mTime;
QElapsedTimer mTime;
};
#endif // SNIFFERITEM_H
+1 -1
View File
@@ -137,7 +137,7 @@ QVariant SnifferModel::data(const QModelIndex &index, int role) const
Qt::ItemFlags SnifferModel::flags(const QModelIndex &index) const
{
if (!index.isValid())
return 0;
return Qt::NoItemFlags;
return QAbstractItemModel::flags(index);
}