mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 22:18:05 -06:00
- Fix compilation warning
This commit is contained in:
@@ -537,7 +537,7 @@ class RssStream : public QObject{
|
|||||||
QDomDocument doc("Rss Seed");
|
QDomDocument doc("Rss Seed");
|
||||||
QFile fileRss(filePath);
|
QFile fileRss(filePath);
|
||||||
if(!fileRss.open(QIODevice::ReadOnly | QIODevice::Text)) {
|
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)) {
|
if(QFile::exists(filePath)) {
|
||||||
fileRss.remove();
|
fileRss.remove();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user