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>
This commit is contained in:
committed by
Yoann Lopes
parent
8f9bc2ed72
commit
58019c256e
@@ -1223,7 +1223,7 @@ void tst_QMediaPlaylist::mediaPlayListControl()
|
|||||||
{
|
{
|
||||||
// To check changes in abstract classe's pure virtual functions
|
// To check changes in abstract classe's pure virtual functions
|
||||||
QObject parent;
|
QObject parent;
|
||||||
MockMediaPlaylistControl plylistctrl(&parent);
|
MockMediaPlaylistControl plylistctrl(false, &parent);
|
||||||
}
|
}
|
||||||
|
|
||||||
// MaemoAPI-1850:test QMediaPlayListSourceControl constructor
|
// MaemoAPI-1850:test QMediaPlayListSourceControl constructor
|
||||||
|
|||||||
Reference in New Issue
Block a user