summaryrefslogtreecommitdiffstats
path: root/src/corelib/json/qjsonarray.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-03-01 17:44:34 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-26 14:45:29 +0200
commitc28e61a0f430b4789adf3155559f6a3734b88e0c (patch)
tree5843ab2192d2b5aa48fc9d54cc97e2951ced8d02 /src/corelib/json/qjsonarray.cpp
parentde37821c56b2579a3088aef1c391cdf345deb190 (diff)
Fix annoying deprecation warning about QImageTextKeyLang
If we deprecate the entire class, then we get the warning for every use of it with GCC, including the three operators defined inside the class. So instead, mark as only the constructors as deprecated, which should reduce the warnings to the places where the class was instantiated. That should be enough to poison the code enough: to fix the warning, you need to stop using the class there and/or stop calling one of the deprecated functions that deal with it. Unfortunately, we still get one more warning inside the inline code, in QImage::textList. To remove that warning, we disable all deprecation warnings around that code block. Change-Id: If3c11647a9d2cab055e15810d7cfe0d8f5e7042f Reviewed-by: Olivier Goffart <ogoffart@woboq.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/corelib/json/qjsonarray.cpp')
0 files changed, 0 insertions, 0 deletions