Deprecate QtSystemMsg enum
QtSystemMsg has been an alias to QtCriticalMsg since Qt 4 times, probably because of the misleading name. Let's formally deprecate the enum now, so that it at one point (Qt 7?) can be finally removed. Change-Id: I385b62a77ceb66f75f318a00a73ea5e7333bf4f1 Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
parent
28defcfb78
commit
056e127ff6
@ -2509,7 +2509,7 @@ QMessageLogContext &QMessageLogContext::copyContextFrom(const QMessageLogContext
|
||||
A message generated by the qCritical() function.
|
||||
\value QtFatalMsg
|
||||
A message generated by the qFatal() function.
|
||||
\value QtSystemMsg
|
||||
\omitvalue QtSystemMsg
|
||||
|
||||
\c QtInfoMsg was added in Qt 5.5.
|
||||
|
||||
|
@ -32,7 +32,9 @@ enum QtMsgType {
|
||||
QtCriticalMsg,
|
||||
QtFatalMsg,
|
||||
QtInfoMsg,
|
||||
QtSystemMsg = QtCriticalMsg
|
||||
#if QT_DEPRECATED_SINCE(6, 7)
|
||||
QtSystemMsg Q_DECL_ENUMERATOR_DEPRECATED_X("Use QtCriticalMsg instead.") = QtCriticalMsg
|
||||
#endif
|
||||
};
|
||||
|
||||
class QMessageLogContext
|
||||
|
Loading…
x
Reference in New Issue
Block a user