+ fix warnings with clang

This commit is contained in:
wmayer
2014-09-24 17:46:04 +02:00
parent 5201223da4
commit 032c893183
19 changed files with 79 additions and 116 deletions

View File

@@ -328,7 +328,6 @@ void PythonStdin::init_type()
PythonStdin::PythonStdin(PythonConsole *pc)
: pyConsole(pc)
{
console = getMainWindow()->findChild<PythonConsole*>();
}
PythonStdin::~PythonStdin()
@@ -345,5 +344,5 @@ Py::Object PythonStdin::repr()
Py::Object PythonStdin::readline(const Py::Tuple& args)
{
return Py::String( (const char *)console->readline().toAscii() );
return Py::String( (const char *)pyConsole->readline().toAscii() );
}