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
14276f72
Commit
14276f72
authored
Jan 15, 2009
by
Daniel Molkentin
Browse files
Fixes: Warning on MSVC, no not temporary convert to int.
RevBy: Matthias
parent
dc9ad66d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/texteditor/basetexteditor.cpp
View file @
14276f72
...
...
@@ -3370,9 +3370,9 @@ void BaseTextEditor::setIfdefedOutBlocks(const QList<BaseTextEditor::BlockRange>
const
BlockRange
&
range
=
blocks
.
at
(
rangeNumber
);
if
(
block
.
position
()
>=
range
.
first
&&
(
block
.
position
()
<=
range
.
last
||
!
range
.
last
))
{
needUpdate
+
=
TextEditDocumentLayout
::
setIfdefedOut
(
block
);
needUpdate
|
=
TextEditDocumentLayout
::
setIfdefedOut
(
block
);
}
else
{
needUpdate
+
=
TextEditDocumentLayout
::
clearIfdefedOut
(
block
);
needUpdate
|
=
TextEditDocumentLayout
::
clearIfdefedOut
(
block
);
}
if
(
block
.
contains
(
range
.
last
))
++
rangeNumber
;
...
...
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