debugger: make it possible to bulk-assign breakpoints to threads

This commit is contained in:
hjk
2010-04-30 14:18:10 +02:00
parent 24d1fbd15b
commit 5560f5e2f1
6 changed files with 38 additions and 8 deletions

View File

@@ -361,6 +361,13 @@ QVariant ThreadsHandler::headerData(int section, Qt::Orientation orientation, in
return QVariant();
}
int ThreadsHandler::currentThreadId() const
{
if (m_currentIndex < 0 || m_currentIndex >= m_threads.size())
return -1;
return m_threads[m_currentIndex].id;
}
void ThreadsHandler::setCurrentThread(int index)
{
if (index == m_currentIndex)