Skip to content
GitLab
Menu
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
9e7d91a5
Commit
9e7d91a5
authored
Jun 11, 2010
by
Bill King
Browse files
Fix missing breaks which lead to invalid fallthroughs.
parent
1a897869
Changes
5
Hide whitespace changes
Inline
Side-by-side
src/libs/extensionsystem/pluginerrorview.cpp
View file @
9e7d91a5
...
...
@@ -102,10 +102,13 @@ void PluginErrorView::update(PluginSpec *spec)
case
PluginSpec
::
Stopped
:
text
=
tr
(
"Stopped"
);
tooltip
=
tr
(
"Plugin was shut down"
);
break
;
case
PluginSpec
::
Deleted
:
text
=
tr
(
"Deleted"
);
tooltip
=
tr
(
"Plugin ended its life cycle and was deleted"
);
break
;
}
m_ui
->
state
->
setText
(
text
);
m_ui
->
state
->
setToolTip
(
tooltip
);
m_ui
->
errorString
->
setText
(
spec
->
errorString
());
...
...
src/plugins/debugger/breakhandler.cpp
View file @
9e7d91a5
...
...
@@ -626,6 +626,7 @@ QVariant BreakHandler::data(const QModelIndex &mi, int role) const
return
tr
(
"Breakpoint will only be hit after being ignored so many times."
);
if
(
role
==
Qt
::
UserRole
+
1
)
return
data
->
ignoreCount
;
break
;
case
6
:
if
(
role
==
Qt
::
DisplayRole
)
{
if
(
data
->
pending
)
...
...
@@ -637,6 +638,7 @@ QVariant BreakHandler::data(const QModelIndex &mi, int role) const
return
tr
(
"Breakpoint will only be hit in the specified thread(s)."
);
if
(
role
==
Qt
::
UserRole
+
1
)
return
data
->
threadSpec
;
break
;
case
7
:
if
(
role
==
Qt
::
DisplayRole
)
{
if
(
data
->
type
==
BreakpointData
::
WatchpointType
)
...
...
src/plugins/debugger/watchutils.cpp
View file @
9e7d91a5
...
...
@@ -1219,6 +1219,7 @@ void QtDumperHelper::evaluationParameters(const WatchData &data,
break
;
case
StdDequeType
:
extraArgs
[
1
]
=
zero
;
break
;
case
StdStackType
:
// remove 'std::allocator<...>':
extraArgs
[
1
]
=
zero
;
...
...
src/plugins/qt4projectmanager/qt-s60/gccetoolchain.cpp
View file @
9e7d91a5
...
...
@@ -129,6 +129,7 @@ void GCCEToolChain::addToEnvironment(ProjectExplorer::Environment &env)
switch
(
m_type
)
{
case
ProjectExplorer
::
ToolChain
::
GCCE
:
m_mixin
.
addEpocToEnvironment
(
&
env
);
break
;
case
ProjectExplorer
::
ToolChain
::
GCCE_GNUPOC
:
m_mixin
.
addGnuPocToEnvironment
(
&
env
);
break
;
...
...
src/plugins/texteditor/colorschemeedit.cpp
View file @
9e7d91a5
...
...
@@ -107,6 +107,8 @@ public:
QColor
background
=
m_scheme
->
formatFor
(
description
.
id
()).
background
();
if
(
background
.
isValid
())
return
background
;
else
break
;
}
case
Qt
::
FontRole
:
{
QFont
font
=
m_baseFont
;
...
...
Write
Preview
Supports
Markdown
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