summaryrefslogtreecommitdiffstats
path: root/src/opengl/qopenglversionfunctionsfactory.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2025-10-28 15:57:48 +0100
committerMarc Mutz <marc.mutz@qt.io>2025-10-28 21:32:34 +0100
commit4ab2818b91ad197af5b2850747ae85575a629178 (patch)
tree845319e234ee26afcfabe5acc3f7116fc8bf44d8 /src/opengl/qopenglversionfunctionsfactory.cpp
parent249cec4c5c6a438b8a201b14157f38a3f7a3fad2 (diff)
tst_QFileDialog2: fix -Wunused-function
These days, the msgDoesNotExist() function is only called from Q_OS_WIN-scoped code, prompting -Wunused-function on non-Windows platforms. To fix, add [[maybe_unused]]. The alternative, #fidef Q_OS_WIN, has the disadvantage of limiting compiler coverage of the function. Amends 7432082333294091a88f9dd8b84d8fd10f68b10a, which moved the last caller into a Q_OS_WIN scope. Change-Id: I3895a6974d767c76ebd1d0a8c78adddde2a5abc1 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/opengl/qopenglversionfunctionsfactory.cpp')
0 files changed, 0 insertions, 0 deletions