0000826: reading from the python console for using pdb -- code cleanup

This commit is contained in:
wmayer
2013-05-14 15:20:00 +02:00
parent 3f23dbb671
commit e3d0ccba33
4 changed files with 0 additions and 100 deletions

View File

@@ -292,19 +292,11 @@ void PythonStdin::init_type()
PythonStdin::PythonStdin(PythonConsole *pc)
: pyConsole(pc)
{
editField = new PythonInputField(/*getMainWindow()*/);
timer = new QTimer();
timer->setInterval(250);
QObject::connect(timer, SIGNAL(timeout()),
editField, SLOT(hide()));
console = getMainWindow()->findChild<PythonConsole*>();
}
PythonStdin::~PythonStdin()
{
// call deleteLater() because deleting immediately causes problems
editField->deleteLater();
timer->deleteLater();
}
Py::Object PythonStdin::repr()