summaryrefslogtreecommitdiffstats
path: root/examples/opengl/qopenglwidget/glwidget.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2022-03-03 08:28:30 +0100
committerMarc Mutz <marc.mutz@qt.io>2022-03-11 20:15:48 +0100
commitefe411b8b70fac35eee65371f95636880baee9d3 (patch)
treebefd4f6c45737c683c5c71153960867592ae2601 /examples/opengl/qopenglwidget/glwidget.cpp
parentb0d106267c773a177bc3316e387261f2696692b5 (diff)
qobjectdefs.h: DRY the SIGNAL/SLOT macros
Factor common code into a separate macro to DRY. The immediate paractical consequence is that we now have a way to reliably get a const char[] from the SIGNAL or SLOT macros, e.g. for storing in a QOffsetStringArray, without causing compile errors in debug mode or running the danger of causing runtime initialization via qFlagLocation, which is of limited value in this circumstance, anyway, because qFlagLocation only stores the last two strings. Pick-to: 6.3 Change-Id: I67401858e94eedc1200fdd08e695fd56d10f8560 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'examples/opengl/qopenglwidget/glwidget.cpp')
0 files changed, 0 insertions, 0 deletions