Skip to content

Commit

Permalink
refine icons
Browse files Browse the repository at this point in the history
  • Loading branch information
tamlok committed Sep 30, 2017
1 parent 06fc4d5 commit 95548a6
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 12 deletions.
9 changes: 9 additions & 0 deletions src/resources/icons/create_subdir.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 7 additions & 11 deletions src/resources/icons/sort.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/vdirectorytree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ void VDirectoryTree::initActions()
connect(newRootDirAct, &QAction::triggered,
this, &VDirectoryTree::newRootDirectory);

newSubDirAct = new QAction(tr("&New Subfolder"), this);
newSubDirAct = new QAction(QIcon(":/resources/icons/create_subdir.svg"),
tr("&New Subfolder"), this);
newSubDirAct->setToolTip(tr("Create a subfolder"));
connect(newSubDirAct, &QAction::triggered,
this, &VDirectoryTree::newSubDirectory);
Expand Down
1 change: 1 addition & 0 deletions src/vnote.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -129,5 +129,6 @@
<file>resources/icons/locate_attachment.svg</file>
<file>resources/icons/delete_attachment.svg</file>
<file>resources/icons/sort.svg</file>
<file>resources/icons/create_subdir.svg</file>
</qresource>
</RCC>

0 comments on commit 95548a6

Please sign in to comment.