"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/ui/repo-tree-view.cpp" between
seafile-client-7.0.4.tar.gz and seafile-client-7.0.5.tar.gz

About: Seafile (client) for the Seafile cloud storage system.

repo-tree-view.cpp  (seafile-client-7.0.4):repo-tree-view.cpp  (seafile-client-7.0.5)
skipping to change at line 549 skipping to change at line 549
} }
void RepoTreeView::viewRepoOnWeb() void RepoTreeView::viewRepoOnWeb()
{ {
const Account account = seafApplet->accountManager()->currentAccount(); const Account account = seafApplet->accountManager()->currentAccount();
if (account.isValid()) { if (account.isValid()) {
// we adopt a new format of cloud view url from server version 4.2.0 // we adopt a new format of cloud view url from server version 4.2.0
if (!account.isAtLeastVersion(4, 2, 0)) { if (!account.isAtLeastVersion(4, 2, 0)) {
QDesktopServices::openUrl(account.getAbsoluteUrl("repo/" + selected_ repo_.id)); QDesktopServices::openUrl(account.getAbsoluteUrl("repo/" + selected_ repo_.id));
} else { } else {
AutoLoginService::instance()->startAutoLogin("/#common/lib/" + selec ted_repo_.id + "/"); AutoLoginService::instance()->startAutoLogin("/library/" + selected_ repo_.id + "/" + selected_repo_.name + "/");
} }
} }
} }
void RepoTreeView::shareRepo(bool to_group) void RepoTreeView::shareRepo(bool to_group)
{ {
const Account account = seafApplet->accountManager()->currentAccount(); const Account account = seafApplet->accountManager()->currentAccount();
PrivateShareDialog dialog(account, selected_repo_.id, selected_repo_.name, PrivateShareDialog dialog(account, selected_repo_.id, selected_repo_.name,
"/", to_group, "/", to_group,
this); this);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)