- Fix compilation warning

This commit is contained in:
Christophe Dumez 2008-06-22 14:38:00 +00:00
parent f22c2f8c7b
commit adda3a2d34

View file

@ -537,7 +537,7 @@ class RssStream : public QObject{
QDomDocument doc("Rss Seed");
QFile fileRss(filePath);
if(!fileRss.open(QIODevice::ReadOnly | QIODevice::Text)) {
qDebug("openRss error : open failed, no file or locked, "+filePath.toUtf8());
qDebug("openRss error : open failed, no file or locked, %s", (const char*)filePath.toUtf8());
if(QFile::exists(filePath)) {
fileRss.remove();
}