mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-01 04:46:47 -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;
|
||||
}
|
||||
|
||||
bool ok = doc.setContent(&file);
|
||||
bool ok = (bool) doc.setContent(&file);
|
||||
file.close();
|
||||
|
||||
if(!ok) {
|
||||
|
|
|
|||
|
|
@ -194,7 +194,7 @@ RsCollection::RsCollection(const QString& fileName, RsCollectionErrorCode& error
|
|||
}
|
||||
|
||||
QDomDocument xml_doc;
|
||||
bool ok = xml_doc.setContent(&file) ;
|
||||
bool ok = (bool) xml_doc.setContent(&file);
|
||||
|
||||
if(!ok)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue