summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/QCMake.cxx
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2008-02-15 20:36:16 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2008-02-15 20:36:16 (GMT)
commitcdb193c77ac656624422daa41e6cfab25518441b (patch)
tree56525083be40ada6e8daf0886a4bb1e0415bc707 /Source/QtDialog/QCMake.cxx
parenta1dbf38c30adf6c50060aa288547c41f2e36f62b (diff)
downloadCMake-cdb193c77ac656624422daa41e6cfab25518441b.zip
CMake-cdb193c77ac656624422daa41e6cfab25518441b.tar.gz
CMake-cdb193c77ac656624422daa41e6cfab25518441b.tar.bz2
ENH: remove unused code.
Diffstat (limited to 'Source/QtDialog/QCMake.cxx')
-rw-r--r--Source/QtDialog/QCMake.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/QtDialog/QCMake.cxx b/Source/QtDialog/QCMake.cxx
index f3500f8..047abde 100644
--- a/Source/QtDialog/QCMake.cxx
+++ b/Source/QtDialog/QCMake.cxx
@@ -33,11 +33,8 @@ QCMake::QCMake(QObject* p)
QDir execDir(QCoreApplication::applicationDirPath());
- QString cmakeGUICommand = QString("cmake-gui")+cmSystemTools::GetExecutableExtension();
- cmakeGUICommand = execDir.filePath(cmakeGUICommand);
-
#if defined(Q_OS_MAC)
- execDir.cd("../../../"); // path to cmake in build directory (need to fix for deployment)
+ execDir.cd("../../../");
#endif
QString cmakeCommand = QString("cmake")+cmSystemTools::GetExecutableExtension();
@@ -51,7 +48,6 @@ QCMake::QCMake(QObject* p)
this->CMakeInstance = new cmake;
this->CMakeInstance->SetCMakeCommand(cmakeCommand.toAscii().data());
- //this->CMakeInstance->SetCMakeEditCommand(cmakeGUICommand.toAscii().data());
#if defined(Q_OS_MAC)
this->CMakeInstance->SetCMakeEditCommand("cmake-gui.app/Contents/MacOS/cmake-gui");
#else