diff options
author | Andre Hartmann <aha_1980@gmx.de> | 2016-05-27 20:52:54 +0200 |
---|---|---|
committer | André Hartmann <aha_1980@gmx.de> | 2016-06-01 06:32:00 +0000 |
commit | 5ddd6bb219102b9561ab7a85cc9c9b8feba17e58 (patch) | |
tree | 7c710f2da335f3de76adeb34d241ec43b47b8a9c /tests | |
parent | cf066595e079112cc00c3105f3d9244a975af77f (diff) |
QCanBus: Changed createDevice() API to use only QString
The old implementation used QByteArray and QString,
and it could be hard to remember which type belongs where.
For completeness, plugins() now returns QStringList instead
of QList<QByteArray>.
[ChangeLog][QCanBus] Changed the signature of createDevice()
to use only QString parameters. Further, plugins() now returns
a QStringList.
Task-number: QTBUG-53642
Change-Id: Ief5ed9c87fba36744d6b96483095fab26e0d332c
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qcanbus/tst_qcanbus.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qcanbus/tst_qcanbus.cpp b/tests/auto/qcanbus/tst_qcanbus.cpp index b549f09..08047e8 100644 --- a/tests/auto/qcanbus/tst_qcanbus.cpp +++ b/tests/auto/qcanbus/tst_qcanbus.cpp @@ -77,7 +77,7 @@ void tst_QCanBus::initTestCase() void tst_QCanBus::plugins() { - QList<QByteArray> pluginList = bus->plugins(); + const QStringList pluginList = bus->plugins(); QVERIFY(!pluginList.isEmpty()); QVERIFY(pluginList.contains("generic")); |