|
@@ -322,7 +322,7 @@ ctkPythonConsole::ctkPythonConsole(ctkAbstractPythonManager* pythonManager, QWid
|
|
|
d->Console.setFormat(format);
|
|
|
d->Console.printString(
|
|
|
QString("Python %1 on %2\n").arg(Py_GetVersion()).arg(Py_GetPlatform()));
|
|
|
- this->promptForInput();
|
|
|
+ d->promptForInput();
|
|
|
|
|
|
Q_ASSERT(PythonQt::self());
|
|
|
|
|
@@ -481,13 +481,6 @@ void ctkPythonConsole::onExecuteCommand(const QString& Command)
|
|
|
}
|
|
|
|
|
|
//----------------------------------------------------------------------------
|
|
|
-void ctkPythonConsole::promptForInput()
|
|
|
-{
|
|
|
- Q_D(ctkPythonConsole);
|
|
|
- d->promptForInput();
|
|
|
-}
|
|
|
-
|
|
|
-//----------------------------------------------------------------------------
|
|
|
void ctkPythonConsole::internalExecuteCommand(const QString& command)
|
|
|
{
|
|
|
Q_D(ctkPythonConsole);
|