Преглед на файлове

Fix unused variable warnings in ctkAbstractPythonManager

Jean-Christophe Fillion-Robin преди 12 години
родител
ревизия
cefb88ffea
променени са 1 файла, в които са добавени 0 реда и са изтрити 2 реда
  1. 0 2
      Libs/Scripting/Python/Core/ctkAbstractPythonManager.cpp

+ 0 - 2
Libs/Scripting/Python/Core/ctkAbstractPythonManager.cpp

@@ -232,14 +232,12 @@ void ctkAbstractPythonManager::registerCPPClassForPythonQt(const char* name)
 //-----------------------------------------------------------------------------
 bool ctkAbstractPythonManager::systemExitExceptionHandlerEnabled()const
 {
-  Q_D(const ctkAbstractPythonManager);
   return PythonQt::self()->systemExitExceptionHandlerEnabled();
 }
 
 //-----------------------------------------------------------------------------
 void ctkAbstractPythonManager::setSystemExitExceptionHandlerEnabled(bool value)
 {
-  Q_D(ctkAbstractPythonManager);
   PythonQt::self()->setSystemExitExceptionHandlerEnabled(value);
 }