mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-16 17:13:58 -05:00
Changed QDomDocument::setContent for Qt 6.5
This commit is contained in:
parent
c4c2c5a0d1
commit
d4dcaaa41a
2 changed files with 2 additions and 2 deletions
|
|
@ -1472,7 +1472,7 @@ bool NewFriendList::importFriendlist(QString &fileName, bool &errorPeers, bool &
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ok = doc.setContent(&file);
|
bool ok = (bool) doc.setContent(&file);
|
||||||
file.close();
|
file.close();
|
||||||
|
|
||||||
if(!ok) {
|
if(!ok) {
|
||||||
|
|
|
||||||
|
|
@ -194,7 +194,7 @@ RsCollection::RsCollection(const QString& fileName, RsCollectionErrorCode& error
|
||||||
}
|
}
|
||||||
|
|
||||||
QDomDocument xml_doc;
|
QDomDocument xml_doc;
|
||||||
bool ok = xml_doc.setContent(&file) ;
|
bool ok = (bool) xml_doc.setContent(&file);
|
||||||
|
|
||||||
if(!ok)
|
if(!ok)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue