forked from qt-creator/qt-creator
debugger: slightly saner behaviour for the threads combobox
Change-Id: I20400b037f00a5dbaf11cbbfb184a5bf526883cc Reviewed-on: http://codereview.qt.nokia.com/4095 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -38,15 +38,17 @@
|
||||
|
||||
#include "threaddata.h"
|
||||
|
||||
namespace Debugger {
|
||||
namespace Internal {
|
||||
class GdbMi;
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// ThreadsHandler
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
|
||||
namespace Debugger {
|
||||
namespace Internal {
|
||||
|
||||
class GdbMi;
|
||||
|
||||
class ThreadsHandler : public QAbstractTableModel
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -80,6 +82,7 @@ private:
|
||||
QVariant headerData(int section, Qt::Orientation orientation,
|
||||
int role = Qt::DisplayRole) const;
|
||||
Qt::ItemFlags flags(const QModelIndex &index) const;
|
||||
void updateThreadBox();
|
||||
|
||||
Threads m_threads;
|
||||
int m_currentIndex;
|
||||
|
||||
Reference in New Issue
Block a user