| mediaplayer.cpp:109: error: no matching function for call to `QMessageBox::warning(MediaPlayer* const, QString, QString)'
| /oe/build/tmp/staging/arm-linux/qt2/include/qmessagebox.h:87: note: candidates are: static int QMessageBox::warning(QWidget*, const QString&, const QString&, int, int, int)
| /oe/build/tmp/staging/arm-linux/qt2/include/qmessagebox.h:94: note: static int QMessageBox::warning(QWidget*, const QString&, const QString&, const QString&, const QString&, const QString&, int, int)
| make: *** [qpeobj/mediaplayer.o] Error 1
| FATAL: oe_runmake failed
N
Code:
// If file is not anymore in place give message and do not try to play
QFileInfo fileInfo(fileName);
if ( !fileInfo.exists() ) {
QMessageBox::warning( this, tr( "File not found" ),
tr( "File list file was not found." ) );
return;
}