forked from qt-creator/qt-creator
Debugger: Simplify thread switching more
This moves the thread switcher combobox, the only consumer of part of the threadhandler interface, into the threadhandler. Change-Id: Icafd72e7777fad9196ce8fb33a79cae26c29a521 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -1496,7 +1496,7 @@ void CdbEngine::requestModuleSymbols(const QString &moduleName)
|
||||
|
||||
void CdbEngine::reloadRegisters()
|
||||
{
|
||||
if (!(threadsHandler()->currentThreadIndex() >= 0))
|
||||
if (!threadsHandler()->currentThread())
|
||||
return;
|
||||
runCommand({"registers", ExtensionCommand, CB(handleRegistersExt)});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user