From fc1dc2d22781a46df2351848fa408eed96ccdd06 Mon Sep 17 00:00:00 2001 From: Denis Shienkov Date: Sun, 12 Jul 2015 14:59:57 +0300 Subject: Add missing QT_DEPRECATED_SINCE(5, 2) macro The macro was added in the header file, but not in the implementation file. Change-Id: I51bc62eedbaba627fb525c04dc126bf0125e7a39 Reviewed-by: Marc Mutz Reviewed-by: Denis Shienkov --- src/serialport/qserialportinfo.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/serialport/qserialportinfo.cpp') diff --git a/src/serialport/qserialportinfo.cpp b/src/serialport/qserialportinfo.cpp index 26b275d6..055b2268 100644 --- a/src/serialport/qserialportinfo.cpp +++ b/src/serialport/qserialportinfo.cpp @@ -266,6 +266,7 @@ bool QSerialPortInfo::hasProductIdentifier() const \sa isNull() */ +#if QT_DEPRECATED_SINCE(5, 2) /*! \fn bool QSerialPortInfo::isValid() const \obsolete @@ -275,6 +276,7 @@ bool QSerialPortInfo::hasProductIdentifier() const \sa isNull(), isBusy() */ +#endif // QT_DEPRECATED_SINCE(5, 2) /*! \fn QList QSerialPortInfo::standardBaudRates() -- cgit v1.2.3