Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
99336fee
Commit
99336fee
authored
Jan 11, 2011
by
dt
Browse files
ProjectExplorer: Make "Del" work in project tree
Task-Nr: QTCREATORBUG-3432
parent
fd89e858
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/projectexplorer.cpp
View file @
99336fee
...
...
@@ -746,6 +746,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er
d
->
m_removeFileAction
=
new
QAction
(
tr
(
"Remove File..."
),
this
);
cmd
=
am
->
registerAction
(
d
->
m_removeFileAction
,
ProjectExplorer
::
Constants
::
REMOVEFILE
,
projecTreeContext
);
cmd
->
setDefaultKeySequence
(
QKeySequence
::
Delete
);
mfileContextMenu
->
addAction
(
cmd
,
Constants
::
G_FILE_OTHER
);
//: Remove project from parent profile (Project explorer view); will not physically delete any files.
...
...
@@ -758,6 +759,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er
d
->
m_deleteFileAction
=
new
QAction
(
tr
(
"Delete File..."
),
this
);
cmd
=
am
->
registerAction
(
d
->
m_deleteFileAction
,
ProjectExplorer
::
Constants
::
DELETEFILE
,
projecTreeContext
);
cmd
->
setDefaultKeySequence
(
QKeySequence
::
Delete
);
mfileContextMenu
->
addAction
(
cmd
,
Constants
::
G_FILE_OTHER
);
// renamefile action
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment