summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@qt.io>2018-03-12 13:43:43 +0100
committerMartin Smith <martin.smith@qt.io>2018-04-23 13:28:51 +0000
commitb458cb312c433d9c955f5268c5db321126fef143 (patch)
treecfed9926763415787bc54ca694497dcdb6d26019 /qmake
parent994e0e4c36315fc7656568f9f1e546362dae5466 (diff)
doc: Make both qEnvironmentVariable() functions visible in the docs
There had been a fake declaration for qEnvironmentVariable() in qglobal.h thaqt was only visible to QDoc. It was removed in favor of documenting both the actual declarations of qEnvironmentVariable(), one with a 2nd parameter for passing a defualt value and one without that parameter. But the one without the default value parameter was marked internal, so it didn't appear in the docs. When both functions were documented with a shared comment, a bug in QDoc was revealed, because these functions are global, while the shared comment functionality had only been implemented for class member functions. Now the shared comment functionality has been implemented for global functions, so these two functions are now documented with a shared comment. We can, of course, reintroduce the #ifdef QCLANG_QDOC trick, if that is pre3ferred. Change-Id: I41d85def5daa3215a995d7697d064dfae37e8b2a Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'qmake')
0 files changed, 0 insertions, 0 deletions