From 5ddd6bb219102b9561ab7a85cc9c9b8feba17e58 Mon Sep 17 00:00:00 2001 From: Andre Hartmann Date: Fri, 27 May 2016 20:52:54 +0200 Subject: 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. [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 Reviewed-by: Alex Blasche --- tests/auto/qcanbus/tst_qcanbus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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 pluginList = bus->plugins(); + const QStringList pluginList = bus->plugins(); QVERIFY(!pluginList.isEmpty()); QVERIFY(pluginList.contains("generic")); -- cgit v1.2.3