Browse Source

refine Info act

Le Tan 7 years ago
parent
commit
af8cd0d73b
6 changed files with 7 additions and 7 deletions
  1. 1 1
      src/vattachmentlist.cpp
  2. 1 1
      src/vdirectorytree.cpp
  3. 2 2
      src/vexplorer.cpp
  4. 1 1
      src/vfilelist.cpp
  5. 1 1
      src/vnotebookselector.cpp
  6. 1 1
      src/vsnippetlist.cpp

+ 1 - 1
src/vattachmentlist.cpp

@@ -288,7 +288,7 @@ void VAttachmentList::handleContextMenuRequested(QPoint p_pos)
         menu.addSeparator();
 
         QAction *fileInfoAct = new QAction(VIconUtils::menuIcon(":/resources/icons/note_info.svg"),
-                                           tr("&Info\t%1").arg(VUtils::getShortcutText(c_infoShortcutSequence)),
+                                           tr("&Info (Rename)\t%1").arg(VUtils::getShortcutText(c_infoShortcutSequence)),
                                            &menu);
         fileInfoAct->setToolTip(tr("View and edit current folder's information"));
         connect(fileInfoAct, &QAction::triggered,

+ 1 - 1
src/vdirectorytree.cpp

@@ -445,7 +445,7 @@ void VDirectoryTree::contextMenuRequested(QPoint pos)
         menu.addAction(pinToHistoryAct);
 
         QAction *dirInfoAct = new QAction(VIconUtils::menuIcon(":/resources/icons/dir_info.svg"),
-                                          tr("&Info\t%1").arg(VUtils::getShortcutText(c_infoShortcutSequence)),
+                                          tr("&Info (Rename)\t%1").arg(VUtils::getShortcutText(c_infoShortcutSequence)),
                                           &menu);
         dirInfoAct->setToolTip(tr("View and edit current folder's information"));
         connect(dirInfoAct, &QAction::triggered,

+ 2 - 2
src/vexplorer.cpp

@@ -475,7 +475,7 @@ void VExplorer::handleContextMenuRequested(QPoint p_pos)
         menu.addSeparator();
 
         QAction *fileInfoAct = new QAction(VIconUtils::menuIcon(":/resources/icons/note_info.svg"),
-                                           tr("&Info\t%1").arg(VUtils::getShortcutText(c_infoShortcutSequence)),
+                                           tr("&Info (Rename)\t%1").arg(VUtils::getShortcutText(c_infoShortcutSequence)),
                                            &menu);
         fileInfoAct->setToolTip(tr("View and edit current folder's information"));
         connect(fileInfoAct, &QAction::triggered,
@@ -573,7 +573,7 @@ void VExplorer::handleContextMenuRequested(QPoint p_pos)
 
     if (selectedFiles.size() == 1) {
         QAction *fileInfoAct = new QAction(VIconUtils::menuIcon(":/resources/icons/note_info.svg"),
-                                           tr("&Info\t%1").arg(VUtils::getShortcutText(c_infoShortcutSequence)),
+                                           tr("&Info (Rename)\t%1").arg(VUtils::getShortcutText(c_infoShortcutSequence)),
                                            &menu);
         fileInfoAct->setToolTip(tr("View and edit current file's information"));
         connect(fileInfoAct, &QAction::triggered,

+ 1 - 1
src/vfilelist.cpp

@@ -636,7 +636,7 @@ void VFileList::contextMenuRequested(QPoint pos)
 
         if (selectedSize == 1) {
             QAction *fileInfoAct = new QAction(VIconUtils::menuIcon(":/resources/icons/note_info.svg"),
-                                               tr("&Info\t%1").arg(VUtils::getShortcutText(c_infoShortcutSequence)),
+                                               tr("&Info (Rename)\t%1").arg(VUtils::getShortcutText(c_infoShortcutSequence)),
                                                &menu);
             fileInfoAct->setToolTip(tr("View and edit current note's information"));
             connect(fileInfoAct, SIGNAL(triggered(bool)),

+ 1 - 1
src/vnotebookselector.cpp

@@ -487,7 +487,7 @@ void VNotebookSelector::popupListContextMenuRequested(QPoint p_pos)
 
     if (nb->isValid()) {
         QAction *notebookInfoAct = new QAction(VIconUtils::menuIcon(":/resources/icons/notebook_info.svg"),
-                                               tr("&Info"),
+                                               tr("&Info (Rename)"),
                                                &menu);
         notebookInfoAct->setToolTip(tr("View and edit current notebook's information"));
         connect(notebookInfoAct, SIGNAL(triggered(bool)),

+ 1 - 1
src/vsnippetlist.cpp

@@ -144,7 +144,7 @@ void VSnippetList::handleContextMenuRequested(QPoint p_pos)
             menu.addAction(applyAct);
 
             QAction *infoAct = new QAction(VIconUtils::menuIcon(":/resources/icons/snippet_info.svg"),
-                                           tr("&Info\t%1").arg(VUtils::getShortcutText(c_infoShortcutSequence)),
+                                           tr("&Info (Rename)\t%1").arg(VUtils::getShortcutText(c_infoShortcutSequence)),
                                            &menu);
             infoAct->setToolTip(tr("View and edit snippet's information"));
             connect(infoAct, &QAction::triggered,