Merge pull request #40 from RetroShare/master

update to master
This commit is contained in:
defnax 2019-12-23 23:32:32 +01:00 committed by GitHub
commit c4a71d21f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

@ -1 +1 @@
Subproject commit 9b74886eff7c948453d4c6afc621ffebc906a2a4
Subproject commit c064abd74b27e1cc440917e9dbac800316bb8470

View File

@ -178,12 +178,13 @@ int RsFriendListModel::rowCount(const QModelIndex& parent) const
return mGroups[index.group_index].child_profile_indices.size();
if(index.type == ENTRY_TYPE_PROFILE)
{
if(index.group_index < UNDEFINED_GROUP_INDEX_VALUE)
return mProfiles[mGroups[index.group_index].child_profile_indices[index.profile_index]].child_node_indices.size();
else
return mProfiles[index.profile_index].child_node_indices.size();
if(index.type == ENTRY_TYPE_NODE)
}
else //if(index.type == ENTRY_TYPE_NODE)
return 0;
}

View File

@ -157,6 +157,7 @@ QString WebuiPage::helpText() const
webuiUrl.setScheme("http");
webuiUrl.setHost(QString::fromStdString(rsJsonApi->getBindingAddress()));
webuiUrl.setPort(rsJsonApi->listeningPort());
webuiUrl.setPath("/index.html");
QDesktopServices::openUrl(webuiUrl);
}
else