ENH: remove unused code.

This commit is contained in:
Clinton Stimpson 2008-02-15 15:36:16 -05:00
parent a1dbf38c30
commit cdb193c77a
1 changed files with 1 additions and 5 deletions

View File

@ -33,11 +33,8 @@ QCMake::QCMake(QObject* p)
QDir execDir(QCoreApplication::applicationDirPath()); QDir execDir(QCoreApplication::applicationDirPath());
QString cmakeGUICommand = QString("cmake-gui")+cmSystemTools::GetExecutableExtension();
cmakeGUICommand = execDir.filePath(cmakeGUICommand);
#if defined(Q_OS_MAC) #if defined(Q_OS_MAC)
execDir.cd("../../../"); // path to cmake in build directory (need to fix for deployment) execDir.cd("../../../");
#endif #endif
QString cmakeCommand = QString("cmake")+cmSystemTools::GetExecutableExtension(); QString cmakeCommand = QString("cmake")+cmSystemTools::GetExecutableExtension();
@ -51,7 +48,6 @@ QCMake::QCMake(QObject* p)
this->CMakeInstance = new cmake; this->CMakeInstance = new cmake;
this->CMakeInstance->SetCMakeCommand(cmakeCommand.toAscii().data()); this->CMakeInstance->SetCMakeCommand(cmakeCommand.toAscii().data());
//this->CMakeInstance->SetCMakeEditCommand(cmakeGUICommand.toAscii().data());
#if defined(Q_OS_MAC) #if defined(Q_OS_MAC)
this->CMakeInstance->SetCMakeEditCommand("cmake-gui.app/Contents/MacOS/cmake-gui"); this->CMakeInstance->SetCMakeEditCommand("cmake-gui.app/Contents/MacOS/cmake-gui");
#else #else