summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qfileinfo.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2019-07-28 08:05:44 -0700
committerThiago Macieira <thiago.macieira@intel.com>2019-09-24 18:25:21 -0700
commit1872d1a41de0d4994c799c8d7dd4e72aaf49c677 (patch)
tree0c7fe3b8e2ef5120c97936b1be246a362b71d126 /src/corelib/io/qfileinfo.cpp
parent70e6e9fe590590f602dee230a64870365d9301aa (diff)
Doc: Q_FLAG should be applied to the enum, not the QFlags
moc extracts he name that is inthe Q_FLAG macro and that gets used in qDebug(). As the documentation described, qDebug would have printed: QFlags<LoadHints>(QLibrary::ResolveAllSymbolsHint) which doesn't compile (though we could have partially specialized QFlags<QFlags<E>> to be QFlags<E>). The semantically correct output is: QFlags<LoadHint>(QLibrary::ResolveAllSymbolsHint) which is what this change gets. The ideal output would be: LoadHints(QLibrary::ResolveAllSymbolsHint) But that's not a doc change. Fixes: QTBUG-77216 Change-Id: I0635172f4f2a4c51a435fffd15b59a859886e90c Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/corelib/io/qfileinfo.cpp')
0 files changed, 0 insertions, 0 deletions