Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
flatpak-qt-creator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
d42475fd
Commit
d42475fd
authored
Sep 29, 2009
by
Roberto Raggi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable find references.
parent
11212eb0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
src/plugins/cppeditor/cppplugin.cpp
src/plugins/cppeditor/cppplugin.cpp
+6
-8
No files found.
src/plugins/cppeditor/cppplugin.cpp
View file @
d42475fd
...
...
@@ -220,14 +220,12 @@ bool CppPlugin::initialize(const QStringList & /*arguments*/, QString *errorMess
contextMenu
->
addAction
(
cmd
);
am
->
actionContainer
(
CppTools
::
Constants
::
M_TOOLS_CPP
)
->
addAction
(
cmd
);
if
(
!
qgetenv
(
"QTCREATOR_REFERENCES"
).
isEmpty
())
{
QAction
*
findReferencesAction
=
new
QAction
(
tr
(
"Find References"
),
this
);
cmd
=
am
->
registerAction
(
findReferencesAction
,
Constants
::
FIND_REFERENCES
,
context
);
connect
(
findReferencesAction
,
SIGNAL
(
triggered
()),
this
,
SLOT
(
findReferences
()));
contextMenu
->
addAction
(
cmd
);
am
->
actionContainer
(
CppTools
::
Constants
::
M_TOOLS_CPP
)
->
addAction
(
cmd
);
}
QAction
*
findReferencesAction
=
new
QAction
(
tr
(
"Find References"
),
this
);
cmd
=
am
->
registerAction
(
findReferencesAction
,
Constants
::
FIND_REFERENCES
,
context
);
connect
(
findReferencesAction
,
SIGNAL
(
triggered
()),
this
,
SLOT
(
findReferences
()));
contextMenu
->
addAction
(
cmd
);
am
->
actionContainer
(
CppTools
::
Constants
::
M_TOOLS_CPP
)
->
addAction
(
cmd
);
m_actionHandler
=
new
TextEditor
::
TextEditorActionHandler
(
CppEditor
::
Constants
::
C_CPPEDITOR
,
TextEditor
::
TextEditorActionHandler
::
Format
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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