summaryrefslogtreecommitdiffstats
path: root/tests/manual/inputmethodhints/inputmethodhints.h
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <[email protected]>2025-01-14 10:13:19 +0100
committerGiuseppe D'Angelo <[email protected]>2025-01-14 15:37:42 +0100
commitade3bb1c5224a9155a2a2f965fa70740aa9ec8a7 (patch)
tree7aa16396023a1d7ddaf2f5c396619144c3dd16bf /tests/manual/inputmethodhints/inputmethodhints.h
parent39df9e1858a4115bc19b6a4dee5d687c5ee00d21 (diff)
QShortcut: fix build under QT_NO_CONTEXTLESS_CONNECT
QShortcut has a constructor that takes a _parent_ object and a function to invoke, and it will internally connect its activated() signal to that function. This connection will not provide a context object (the parent is not used to this purpose). Given it's not clear what the context should be if any (the parent? `this`?), I'm not at ease at just supplying "something" as the context. Instead, hide the constructor if we're under QT_NO_CONTEXTLESS_CONNECT. There's another constructor where the caller can supply a context. Change-Id: I21befcc86eeb07e65eadee1222757ecc5bab1d2c Pick-to: 6.9 6.8 Reviewed-by: Richard Moe Gustavsen <[email protected]> Reviewed-by: Volker Hilsheimer <[email protected]>
Diffstat (limited to 'tests/manual/inputmethodhints/inputmethodhints.h')
0 files changed, 0 insertions, 0 deletions