diff options
author | Michael Goddard <michael.goddard@nokia.com> | 2012-06-25 10:53:26 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-29 02:47:41 +0200 |
commit | b0809c027c9fe2e49d37dff45aa4f03b0a4e0743 (patch) | |
tree | d647951ecb69c9b39f004198d76fbc4972174549 /tests/auto/unit/qvideoprobe/tst_qvideoprobe.cpp | |
parent | bba28afe559837321a2083b3ce046ab774a7ef6b (diff) |
Rename availabilityError to availability.
It's perhaps clearer in the usual case.
Change-Id: Id3cef82ac83f8c9b538b3315281664ce1c6a2b96
Reviewed-by: Ling Hu <ling.hu@nokia.com>
Diffstat (limited to 'tests/auto/unit/qvideoprobe/tst_qvideoprobe.cpp')
-rw-r--r-- | tests/auto/unit/qvideoprobe/tst_qvideoprobe.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/unit/qvideoprobe/tst_qvideoprobe.cpp b/tests/auto/unit/qvideoprobe/tst_qvideoprobe.cpp index c96f6f2a1..56ee74f41 100644 --- a/tests/auto/unit/qvideoprobe/tst_qvideoprobe.cpp +++ b/tests/auto/unit/qvideoprobe/tst_qvideoprobe.cpp @@ -116,7 +116,7 @@ void tst_QVideoProbe::testNullService() player = new QMediaPlayer; QVERIFY(!player->isAvailable()); - QCOMPARE(player->availabilityError(), QtMultimedia::ServiceMissingError); + QCOMPARE(player->availability(), QtMultimedia::ServiceMissing); QVideoProbe probe; QVERIFY(!probe.isActive()); |