Skip to content

Commit

Permalink
SharedDialog: Fix the delete icon on windows and mac (#3737)
Browse files Browse the repository at this point in the history
  • Loading branch information
ogoffart committed Nov 17, 2015
1 parent 6e42405 commit ef915fb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions client.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@
<file>resources/lock-https@2x.png</file>
<file>resources/account.png</file>
<file>resources/more.png</file>
<file>resources/delete.png</file>
</qresource>
</RCC>
Binary file added resources/delete.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/gui/shareusergroupwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,9 @@ ShareWidget::ShareWidget(QSharedPointer<Share> share,

connect(share.data(), SIGNAL(permissionsSet()), SLOT(slotPermissionsSet()));
connect(share.data(), SIGNAL(shareDeleted()), SLOT(slotShareDeleted()));

_ui->deleteShareButton->setIcon(QIcon::fromTheme(QLatin1String("user-trash"),
QIcon(QLatin1String(":/client/resources/delete.png"))));
}

void ShareWidget::on_deleteShareButton_clicked()
Expand Down

0 comments on commit ef915fb

Please sign in to comment.