summaryrefslogtreecommitdiff
path: root/UDPExamples/DecodesModel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'UDPExamples/DecodesModel.cpp')
-rw-r--r--UDPExamples/DecodesModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/UDPExamples/DecodesModel.cpp b/UDPExamples/DecodesModel.cpp
index 5847e49f..88b071c1 100644
--- a/UDPExamples/DecodesModel.cpp
+++ b/UDPExamples/DecodesModel.cpp
@@ -75,7 +75,7 @@ namespace
}
DecodesModel::DecodesModel (QObject * parent)
- : QStandardItemModel {0, sizeof (headings) / sizeof (headings[0]), parent}
+ : QStandardItemModel {0, sizeof headings / sizeof headings[0], parent}
{
int column {0};
for (auto const& heading : headings)