diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2016-02-26 10:29:22 +0100 |
---|---|---|
committer | Yoann Lopes <yoann.lopes@theqtcompany.com> | 2016-02-26 12:30:45 +0000 |
commit | 58019c256eb7cc2b5c65ab4feedb7103079d7438 (patch) | |
tree | 7eacc5d9efec9dfe0e2548aa428c17b994244da4 /tests | |
parent | 8f9bc2ed726f0927914426e9ff7713e09d0ca8b1 (diff) | |
download | qtmultimedia-58019c256eb7cc2b5c65ab4feedb7103079d7438.tar.gz |
Fix constructor parameters in tst_QMediaPlaylist.
Fix warning:
tst_qmediaplaylist.cpp: In member function 'void tst_QMediaPlaylist::mediaPlayListControl()':
tst_qmediaplaylist.cpp:1221:49: warning: the address of 'parent' will always evaluate as 'true' [-Waddress]
Change-Id: I46391550d07a8f58442269d0e5eae418258adbff
Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/unit/qmediaplaylist/tst_qmediaplaylist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/unit/qmediaplaylist/tst_qmediaplaylist.cpp b/tests/auto/unit/qmediaplaylist/tst_qmediaplaylist.cpp index 104046d0e..fb7773834 100644 --- a/tests/auto/unit/qmediaplaylist/tst_qmediaplaylist.cpp +++ b/tests/auto/unit/qmediaplaylist/tst_qmediaplaylist.cpp @@ -1223,7 +1223,7 @@ void tst_QMediaPlaylist::mediaPlayListControl() { // To check changes in abstract classe's pure virtual functions QObject parent; - MockMediaPlaylistControl plylistctrl(&parent); + MockMediaPlaylistControl plylistctrl(false, &parent); } // MaemoAPI-1850:test QMediaPlayListSourceControl constructor |