mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +02:00
Merge branch 'master' of github.com:highfidelity/hifi into update-collision-hulls-of-avatar-children
This commit is contained in:
commit
30d6734253
1 changed files with 5 additions and 0 deletions
|
@ -63,6 +63,11 @@ bool Bookmarks::contains(const QString& name) const {
|
|||
void Bookmarks::readFromFile() {
|
||||
QFile loadFile(_bookmarksFilename);
|
||||
|
||||
if (!loadFile.exists()) {
|
||||
// User has not yet saved bookmarks
|
||||
return;
|
||||
}
|
||||
|
||||
if (!loadFile.open(QIODevice::ReadOnly)) {
|
||||
qWarning("Couldn't open bookmarks file for reading");
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue