浏览代码

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);
 }