summaryrefslogtreecommitdiffstats
path: root/src/gui/util/qedidvendortable_p.h
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2021-04-20 10:44:48 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2021-04-21 15:28:54 +0200
commit00ee664f2fedf6ece52a7df45c22fca7fedfbe93 (patch)
treee69ad7932aa6211a5f049f833d6b0661cb55a5db /src/gui/util/qedidvendortable_p.h
parent7763b397e3b648a1021a645bd4902923cf30b323 (diff)
Edid vendor table generator (2/N): use idiomatic C++
In C++ we can give names to classes, so just use that, without C-isms (typedef struct). Change-Id: I27239d8d5c28864b3f4f7bd4013cc47c045b4b04 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/gui/util/qedidvendortable_p.h')
-rw-r--r--src/gui/util/qedidvendortable_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/util/qedidvendortable_p.h b/src/gui/util/qedidvendortable_p.h
index d5b86833f4..3fa471f573 100644
--- a/src/gui/util/qedidvendortable_p.h
+++ b/src/gui/util/qedidvendortable_p.h
@@ -60,10 +60,10 @@
QT_BEGIN_NAMESPACE
-typedef struct VendorTable {
+struct VendorTable {
const char id[4];
const char name[78];
-} VendorTable;
+};
static const struct VendorTable q_edidVendorTable[] = {
{ "AAA", "Avolites Ltd" },