Skip to content

Commit

Permalink
add share menu item icons
Browse files Browse the repository at this point in the history
  • Loading branch information
lins05 committed Dec 19, 2015
1 parent 2154456 commit 4c91bdd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file modified images/share.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/share@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/ui/repo-tree-view.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -406,14 +406,14 @@ void RepoTreeView::createActions()
connect(view_on_web_action_, SIGNAL(triggered()), this, SLOT(viewRepoOnWeb()));

share_repo_to_user_action_ = new QAction(tr("Share to a user"), this);
// share_repo_to_user_action_->setIcon(QIcon(":/images/cloud-gray.png"));
share_repo_to_user_action_->setIcon(QIcon(":/images/share.png"));
share_repo_to_user_action_->setStatusTip(tr("Share this library to a user or group"));
share_repo_to_user_action_->setIconVisibleInMenu(true);

connect(share_repo_to_user_action_, SIGNAL(triggered()), this, SLOT(shareRepoToUser()));

share_repo_to_group_action_ = new QAction(tr("Share to a group"), this);
// share_repo_to_group_action_->setIcon(QIcon(":/images/cloud-gray.png"));
share_repo_to_group_action_->setIcon(QIcon(":/images/share.png"));
share_repo_to_group_action_->setStatusTip(tr("Share this library to a user or group"));
share_repo_to_group_action_->setIconVisibleInMenu(true);

Expand Down

0 comments on commit 4c91bdd

Please sign in to comment.