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
9a92079c
Commit
9a92079c
authored
May 16, 2011
by
Christiaan Janssen
Browse files
QmlProfiler: fix warning in MSVC compiler
Reviewed-by: Tobias Hunger
parent
186fd07d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmlprofiler/tracewindow.cpp
View file @
9a92079c
...
...
@@ -221,7 +221,7 @@ void TracePlugin::messageReceived(const QByteArray &data)
if
(
messageType
==
RangeStart
)
{
m_rangeStartTimes
[
range
].
push
(
time
);
m_inProgressRanges
|=
(
1
<<
range
);
m_inProgressRanges
|=
(
static_cast
<
qint64
>
(
1
)
<<
range
);
++
m_rangeCount
[
range
];
}
else
if
(
messageType
==
RangeData
)
{
QString
data
;
...
...
@@ -245,8 +245,8 @@ void TracePlugin::messageReceived(const QByteArray &data)
}
else
{
if
(
m_rangeCount
[
range
]
>
0
)
{
--
m_rangeCount
[
range
];
if
(
m_inProgressRanges
&
(
1
<<
range
))
m_inProgressRanges
&=
~
(
1
<<
range
);
if
(
m_inProgressRanges
&
(
static_cast
<
qint64
>
(
1
)
<<
range
))
m_inProgressRanges
&=
~
(
static_cast
<
qint64
>
(
1
)
<<
range
);
m_maximumTime
=
qMax
(
time
,
m_maximumTime
);
QStringList
data
=
m_rangeDatas
[
range
].
count
()
?
m_rangeDatas
[
range
].
pop
()
:
QStringList
();
...
...
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