diff options
author | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2015-07-17 18:11:21 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2015-07-17 18:12:16 +0200 |
commit | 10a37e9f7fed2c80aac09ac1c662f6a0b3de37f7 (patch) | |
tree | 74fa9bafa05da9d3da47e66b5a4780cb5535ae0c /src/serialport/qserialportinfo_unix.cpp | |
parent | adccf2dcacd3fdd66e09c38302f9ce543d55f572 (diff) | |
parent | 01e0040dce2f7edbb7856d652b34703170918733 (diff) |
Merge remote-tracking branch 'origin/5.4' into 5.5
Change-Id: Ibf52d73727ece041fea18c0711f018ddf9cc7960
Diffstat (limited to 'src/serialport/qserialportinfo_unix.cpp')
-rw-r--r-- | src/serialport/qserialportinfo_unix.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/serialport/qserialportinfo_unix.cpp b/src/serialport/qserialportinfo_unix.cpp index 0add5b66..b17ec343 100644 --- a/src/serialport/qserialportinfo_unix.cpp +++ b/src/serialport/qserialportinfo_unix.cpp @@ -463,11 +463,13 @@ bool QSerialPortInfo::isBusy() const return true; } +#if QT_DEPRECATED_SINCE(5, 2) bool QSerialPortInfo::isValid() const { QFile f(systemLocation()); return f.exists(); } +#endif // QT_DEPRECATED_SINCE(5, 2) QString QSerialPortInfoPrivate::portNameToSystemLocation(const QString &source) { |