diff --git a/src/resources/icons/create_subdir.svg b/src/resources/icons/create_subdir.svg new file mode 100644 index 00000000..76f13692 --- /dev/null +++ b/src/resources/icons/create_subdir.svg @@ -0,0 +1,9 @@ + + + Layer 1 + + + + + + diff --git a/src/resources/icons/sort.svg b/src/resources/icons/sort.svg index 14f9bc25..9dcee9ac 100644 --- a/src/resources/icons/sort.svg +++ b/src/resources/icons/sort.svg @@ -1,12 +1,8 @@ - - - - - - - - - - + + + + Layer 2 + A + Z + diff --git a/src/vdirectorytree.cpp b/src/vdirectorytree.cpp index 2529c1b2..c4428a87 100644 --- a/src/vdirectorytree.cpp +++ b/src/vdirectorytree.cpp @@ -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); diff --git a/src/vnote.qrc b/src/vnote.qrc index 7c2b6ce6..5783fc0b 100644 --- a/src/vnote.qrc +++ b/src/vnote.qrc @@ -129,5 +129,6 @@ resources/icons/locate_attachment.svg resources/icons/delete_attachment.svg resources/icons/sort.svg + resources/icons/create_subdir.svg