forked from qt-creator/qt-creator
Remove unused variables in the debugger watch window code.
Change-Id: Id70e972c4a768d9d544e062dfc29e9b43d88c56e Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -592,9 +592,6 @@ void WatchTreeView::fillFormatMenu(QMenu *formatMenu, const QModelIndex &mi)
|
||||
{
|
||||
QTC_CHECK(mi.isValid());
|
||||
|
||||
DebuggerEngine *engine = currentEngine();
|
||||
WatchHandler *handler = engine->watchHandler();
|
||||
|
||||
const QModelIndex mi2 = mi.sibling(mi.row(), 2);
|
||||
const QString type = mi2.data().toString();
|
||||
|
||||
@@ -604,7 +601,7 @@ void WatchTreeView::fillFormatMenu(QMenu *formatMenu, const QModelIndex &mi)
|
||||
mi.data(LocalsTypeFormatRole).toInt();
|
||||
const int individualFormat =
|
||||
mi.data(LocalsIndividualFormatRole).toInt();
|
||||
const int unprintableBase = handler->unprintableBase();
|
||||
const int unprintableBase = WatchHandler::unprintableBase();
|
||||
|
||||
QAction *showUnprintableUnicode = 0;
|
||||
QAction *showUnprintableEscape = 0;
|
||||
|
||||
Reference in New Issue
Block a user