Commit 607b7fd8 authored by Friedemann Kleint's avatar Friedemann Kleint Committed by hjk

Remove unused variables in the debugger watch window code.

Change-Id: Id70e972c4a768d9d544e062dfc29e9b43d88c56e
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 5505d194
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment