forked from qt-creator/qt-creator
BaseTextMark: Support renaming files
Change-Id: I8d712f76fca5d8f5ecad70f1485228e21c00648d Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
committed by
Eike Ziller
parent
f1c299a85e
commit
10438d2e9d
@@ -1223,6 +1223,14 @@ void BreakHandler::gotoLocation(BreakpointModelId id) const
|
||||
}
|
||||
}
|
||||
|
||||
void BreakHandler::updateFileNameFromMarker(BreakpointModelId id, const QString &fileName)
|
||||
{
|
||||
Iterator it = m_storage.find(id);
|
||||
BREAK_ASSERT(it != m_storage.end(), return);
|
||||
it->data.fileName = fileName;
|
||||
emit layoutChanged();
|
||||
}
|
||||
|
||||
void BreakHandler::updateLineNumberFromMarker(BreakpointModelId id, int lineNumber)
|
||||
{
|
||||
Iterator it = m_storage.find(id);
|
||||
|
||||
Reference in New Issue
Block a user