debugger: remove recently introduced endless loop in resetLocation()

This commit is contained in:
hjk
2010-11-10 12:38:29 +01:00
parent c0ac7aaf36
commit 0caf52f6d4
3 changed files with 9 additions and 5 deletions

View File

@@ -1201,6 +1201,7 @@ public slots:
}
void resetLocation();
void removeLocationMark();
QVariant sessionValue(const QString &name);
void setSessionValue(const QString &name, const QVariant &value);
QIcon locationMarkIcon() const { return m_locationMarkIcon; }
@@ -2910,9 +2911,10 @@ const CPlusPlus::Snapshot &DebuggerPluginPrivate::cppCodeModelSnapshot() const
void DebuggerPluginPrivate::resetLocation()
{
currentEngine()->resetLocation();
// FIXME: code should be moved here from the engine implementation.
//d->m_disassemblerViewAgent.resetLocation();
//d->m_stackHandler.setCurrentIndex(-1);
}
void DebuggerPluginPrivate::removeLocationMark()
{
m_locationMark.reset();
}