forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/2.5'
This commit is contained in:
@@ -1439,8 +1439,10 @@ void BreakHandler::BreakpointItem::updateMarker(BreakpointModelId id)
|
||||
if (marker && (file != marker->fileName() || line != marker->lineNumber()))
|
||||
destroyMarker();
|
||||
|
||||
if (!marker && !file.isEmpty() && line > 0)
|
||||
if (!marker && !file.isEmpty() && line > 0) {
|
||||
marker = new BreakpointMarker(id, file, line);
|
||||
marker->init();
|
||||
}
|
||||
}
|
||||
|
||||
QIcon BreakHandler::BreakpointItem::icon() const
|
||||
|
||||
Reference in New Issue
Block a user