debugger: remove unused break-by-function dialog

This commit is contained in:
hjk
2010-09-28 12:22:53 +02:00
parent b8d5f256a0
commit de8927837f
3 changed files with 2 additions and 87 deletions

View File

@@ -111,26 +111,6 @@ public slots:
};
///////////////////////////////////////////////////////////////////////
//
// BreakByFunctionDialog
//
///////////////////////////////////////////////////////////////////////
class BreakByFunctionDialog : public QDialog, Ui::BreakByFunctionDialog
{
public:
explicit BreakByFunctionDialog(QWidget *parent)
: QDialog(parent)
{
setupUi(this);
connect(buttonBox, SIGNAL(accepted()), this, SLOT(accept()));
connect(buttonBox, SIGNAL(rejected()), this, SLOT(reject()));
}
QString functionName() const { return functionLineEdit->text(); }
};
///////////////////////////////////////////////////////////////////////
//
// BreakWindow
@@ -351,15 +331,9 @@ void BreakWindow::contextMenuEvent(QContextMenuEvent *ev)
setBreakpointsFullPath(si, !fullpath);
else if (act == addBreakpointAction)
addBreakpoint();
//else if (act == breakAtFunctionAction) {
// BreakByFunctionDialog dlg(this);
// if (dlg.exec())
// setModelData(RequestBreakByFunctionRole, dlg.functionName());
//} else if (act == breakAtMainAction)
// setModelData(RequestBreakByFunctionMainRole);
else if (act == breakAtThrowAction)
else if (act == breakAtThrowAction)
setModelData(RequestBreakByFunctionRole, "__cxa_throw");
else if (act == breakAtCatchAction)
else if (act == breakAtCatchAction)
setModelData(RequestBreakByFunctionRole, "__cxa_begin_catch");
}