Commit de892783 authored by hjk's avatar hjk
Browse files

debugger: remove unused break-by-function dialog

parent b8d5f256
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>BreakByFunctionDialog</class>
<widget class="QDialog" name="BreakByFunctionDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>337</width>
<height>101</height>
</rect>
</property>
<property name="windowTitle">
<string>Set Breakpoint at Function</string>
</property>
<layout class="QVBoxLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="margin">
<number>9</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="functionLabel">
<property name="text">
<string>Function to break on:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="functionLineEdit"/>
</item>
</layout>
</item>
<item>
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>
......@@ -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");
}
......
......@@ -95,7 +95,6 @@ SOURCES += breakhandler.cpp \
FORMS += attachexternaldialog.ui \
attachcoredialog.ui \
attachtcfdialog.ui \
breakbyfunction.ui \
breakcondition.ui \
breakpoint.ui \
dumperoptionpage.ui \
......
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