diff options
author | Samuel Gaist <samuel.gaist@idiap.ch> | 2018-12-30 14:44:16 +0100 |
---|---|---|
committer | Samuel Gaist <samuel.gaist@idiap.ch> | 2019-01-03 11:37:58 +0000 |
commit | edf52a175c324e8b0defd8e216dd2bfd53547bd6 (patch) | |
tree | 71f95336aa776ceff5d99c85a5539a82b6506a98 /src | |
parent | 66e45676f5f5c6251ccab36906c6324fd0065e08 (diff) |
Migrate the QDeviceInfo class to QRegularExpression
This patch updates the QDeviceInfo code to use QRegularExpression in
place of QRegExp which is to be considered deprecated.
Task-number: QTBUG-72593
Change-Id: I5abdeb2c0ccd343e93ad529d6e68a463a6e44fcd
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/systeminfo/qdeviceinfo.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/systeminfo/qdeviceinfo.cpp b/src/systeminfo/qdeviceinfo.cpp index 20ebec44..63a6a79c 100644 --- a/src/systeminfo/qdeviceinfo.cpp +++ b/src/systeminfo/qdeviceinfo.cpp @@ -165,9 +165,7 @@ QDeviceInfo::QDeviceInfo(QObject *parent) */ QDeviceInfo::~QDeviceInfo() { -#if !defined(Q_OS_LINUX) delete d_ptr; -#endif } /*! |