diff options
author | Laszlo Papp <lpapp@kde.org> | 2014-03-07 03:11:36 +0000 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-07 07:53:57 +0100 |
commit | bc0a65234440b6a08d862840a48ebae0d3421fbc (patch) | |
tree | 4a26818059a742525c75f5ce4b26f792468e957d /tests | |
parent | 0904f76a6afceca067caf287bd9734678d6d5df1 (diff) | |
download | qtserialport-bc0a65234440b6a08d862840a48ebae0d3421fbc.tar.gz |
Obsolete the "settings restore on close" API
Now that the settings detection is removed, it would be better to make this API
deprecate because it does not make much sense anymore. It was a bad idea to add
this, but we cannot remove it for now, hence the obsoletion.
Change-Id: I5e02959cb54281995b911ff0f64bd2fa36b80060
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qserialport/tst_qserialport.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/qserialport/tst_qserialport.cpp b/tests/auto/qserialport/tst_qserialport.cpp index 3e8c700..8c348bb 100644 --- a/tests/auto/qserialport/tst_qserialport.cpp +++ b/tests/auto/qserialport/tst_qserialport.cpp @@ -98,7 +98,6 @@ void tst_QSerialPort::defaultConstruct() QVERIFY(!serialPort.errorString().isEmpty()); // properties - QCOMPARE(serialPort.settingsRestoredOnClose(), true); QCOMPARE(serialPort.baudRate(), qint32(0)); QCOMPARE(serialPort.baudRate(QSerialPort::Input), qint32(0)); QCOMPARE(serialPort.baudRate(QSerialPort::Output), qint32(0)); |