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
Tobias Hunger
qt-creator
Commits
7f505011
Commit
7f505011
authored
Jun 11, 2010
by
Bill King
Browse files
Fix dead/unnecessary code.
parent
55edbe1c
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/designercore/model/modelmerger.cpp
View file @
7f505011
...
...
@@ -170,9 +170,9 @@ void ModelMerger::replaceModel(const ModelNode &modelNode)
{
RewriterTransaction
transaction
(
view
()
->
beginRewriterTransaction
());
foreach
(
const
Import
&
import
,
modelNode
.
model
()
->
imports
())
{
//
foreach (const Import &import, modelNode.model()->imports()) {
//view()->model()->addImport(import); //###
}
//
}
view
()
->
model
()
->
setFileUrl
(
modelNode
.
model
()
->
fileUrl
());
ModelNode
rootNode
(
view
()
->
rootModelNode
());
...
...
src/plugins/qmldesigner/designercore/model/viewlogger.cpp
View file @
7f505011
...
...
@@ -50,8 +50,6 @@ static QString serialize(AbstractView::PropertyChangeFlags change)
tokenList
.
append
(
QLatin1String
(
"EmptyPropertiesRemoved"
));
return
tokenList
.
join
(
" "
);
return
QString
();
}
static
QString
indent
(
const
QString
&
name
=
QString
())
{
...
...
src/shared/cplusplus/CheckDeclaration.cpp
View file @
7f505011
...
...
@@ -874,8 +874,6 @@ void CheckDeclaration::checkQEnumsQFlagsNames(NameListAST *nameListAst,
const
char
*
declName
)
{
for
(
NameListAST
*
iter
=
nameListAst
;
iter
;
iter
=
iter
->
next
)
{
if
(
!
iter
)
continue
;
const
Name
*
name
=
semantic
()
->
check
(
iter
->
value
,
_scope
);
if
(
!
name
)
...
...
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