summaryrefslogtreecommitdiff
path: root/UDPExamples/DecodesModel.cpp
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2018-12-19 22:58:32 +0100
committerChristoph Berg <myon@debian.org>2018-12-19 22:58:32 +0100
commite0737c56c1e384e05064a0c6e1ac46979371041b (patch)
treea0123d694a2d36c43dabdf0a3907392fce11d457 /UDPExamples/DecodesModel.cpp
parentb4aebf2d137b892f53503b13785ecae900062ff7 (diff)
New upstream version 2.0.0+repackupstream/2.0.0+repack
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)