Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
qt-creator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tobias Hunger
qt-creator
Commits
edd3b213
Commit
edd3b213
authored
14 years ago
by
hjk
Browse files
Options
Downloads
Patches
Plain Diff
editormanager: code cosmetics
parent
c4d48c5e
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/coreplugin/editormanager/openeditorsmodel.h
+3
-3
3 additions, 3 deletions
src/plugins/coreplugin/editormanager/openeditorsmodel.h
with
3 additions
and
3 deletions
src/plugins/coreplugin/editormanager/openeditorsmodel.h
+
3
−
3
View file @
edd3b213
...
...
@@ -60,7 +60,7 @@ public:
QModelIndex
firstRestoredEditor
()
const
;
struct
CORE_EXPORT
Entry
{
Entry
()
:
editor
(
0
){}
Entry
()
:
editor
(
0
)
{}
IEditor
*
editor
;
QString
fileName
()
const
;
QString
displayName
()
const
;
...
...
@@ -71,7 +71,7 @@ public:
};
QList
<
Entry
>
entries
()
const
{
return
m_editors
;
}
inline
IEditor
*
editorAt
(
int
row
)
const
{
return
m_editors
.
at
(
row
).
editor
;
}
IEditor
*
editorAt
(
int
row
)
const
{
return
m_editors
.
at
(
row
).
editor
;
}
void
removeEditor
(
IEditor
*
editor
);
void
removeEditor
(
const
QModelIndex
&
index
);
...
...
@@ -101,7 +101,7 @@ private:
const
QIcon
m_unlockedIcon
;
QList
<
Entry
>
m_editors
;
QList
<
IEditor
*>
m_duplicateEditors
;
QList
<
IEditor
*>
m_duplicateEditors
;
};
}
// namespace Core
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment