diff options
author | Takumi ASAKI <asaki@sra.co.jp> | 2016-07-07 16:53:00 +0900 |
---|---|---|
committer | Takumi ASAKI <takumi.asaki@gmail.com> | 2016-08-16 03:20:26 +0000 |
commit | 04e222784bb0e6d34feebe40ed7dd65f0782b906 (patch) | |
tree | 6a34633256a040cc7eb60dc8d58e48dcb259c5e0 /src/plugins/resourceeditor | |
parent | 6776b7865597ba6082678551bed319574896ad2e (diff) | |
download | qt-creator-04e222784bb0e6d34feebe40ed7dd65f0782b906.tar.gz |
ResourceEditor: Add text for keyboard shortcuts setting
Change-Id: Ifb6954c3fd203e3c9fae17a3ad2505b43ac35d98
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/resourceeditor')
-rw-r--r-- | src/plugins/resourceeditor/resourceeditorplugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/resourceeditor/resourceeditorplugin.cpp b/src/plugins/resourceeditor/resourceeditorplugin.cpp index 83d123cbef..1528d3d52b 100644 --- a/src/plugins/resourceeditor/resourceeditorplugin.cpp +++ b/src/plugins/resourceeditor/resourceeditorplugin.cpp @@ -185,13 +185,13 @@ bool ResourceEditorPlugin::initialize(const QStringList &arguments, QString *err folderContextMenu->insertLocation(ProjectExplorer::Constants::G_FOLDER_FILES), m_openWithMenu); - m_copyPath = new Utils::ParameterAction(QString(), tr("Copy path \"%1\""), Utils::ParameterAction::AlwaysEnabled, this); + m_copyPath = new Utils::ParameterAction(tr("Copy Path"), tr("Copy Path \"%1\""), Utils::ParameterAction::AlwaysEnabled, this); command = Core::ActionManager::registerAction(m_copyPath, Constants::C_COPY_PATH, projectTreeContext); command->setAttribute(Core::Command::CA_UpdateText); fileContextMenu->addAction(command, ProjectExplorer::Constants::G_FILE_OTHER); connect(m_copyPath, &QAction::triggered, this, &ResourceEditorPlugin::copyPathContextMenu); - m_copyUrl = new Utils::ParameterAction(QString(), tr("Copy url \"%1\""), Utils::ParameterAction::AlwaysEnabled, this); + m_copyUrl = new Utils::ParameterAction(tr("Copy URL"), tr("Copy URL \"%1\""), Utils::ParameterAction::AlwaysEnabled, this); command = Core::ActionManager::registerAction(m_copyUrl, Constants::C_COPY_URL, projectTreeContext); command->setAttribute(Core::Command::CA_UpdateText); fileContextMenu->addAction(command, ProjectExplorer::Constants::G_FILE_OTHER); |