summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/breakhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/debugger/breakhandler.cpp')
-rw-r--r--src/plugins/debugger/breakhandler.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/debugger/breakhandler.cpp b/src/plugins/debugger/breakhandler.cpp
index f66e8031f1..8e781f766b 100644
--- a/src/plugins/debugger/breakhandler.cpp
+++ b/src/plugins/debugger/breakhandler.cpp
@@ -398,11 +398,10 @@ void BreakHandler::loadBreakpoints()
v = map.value(_("message"));
if (v.isValid())
data.message = v.toString();
- if (data.isValid()) {
+ if (data.isValid())
appendBreakpoint(data);
- } else {
+ else
qWarning("Not restoring invalid breakpoint: %s", qPrintable(data.toString()));
- }
}
//qDebug() << "LOADED BREAKPOINTS" << this << list.size();
}