summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2010-05-19 21:40:48 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2010-05-19 21:40:48 (GMT)
commit45d7200a73edc947b6e3672bc7cff65143b82179 (patch)
treeb752c5d3c1f5e76b255f3d4ea3401b0274820e01 /Source/QtDialog
parent6138ff02edc05e68c5dea8b3c38f5359bda977bb (diff)
downloadCMake-45d7200a73edc947b6e3672bc7cff65143b82179.zip
CMake-45d7200a73edc947b6e3672bc7cff65143b82179.tar.gz
CMake-45d7200a73edc947b6e3672bc7cff65143b82179.tar.bz2
Fix for fix to bug #9975
Diffstat (limited to 'Source/QtDialog')
-rw-r--r--Source/QtDialog/CMakeSetup.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/QtDialog/CMakeSetup.cxx b/Source/QtDialog/CMakeSetup.cxx
index fc61709..28f4697 100644
--- a/Source/QtDialog/CMakeSetup.cxx
+++ b/Source/QtDialog/CMakeSetup.cxx
@@ -164,7 +164,7 @@ int main(int argc, char** argv)
QStringList args = app.arguments();
if(args.count() == 2)
{
- cmsys_stl::string filePath = cmSystemTools::CollapseFullPath("..");
+ cmsys_stl::string filePath = cmSystemTools::CollapseFullPath(args[1].toAscii().data());
cmsys_stl::string buildFilePath =
cmSystemTools::CollapseFullPath("CMakeCache.txt", filePath.c_str());
cmsys_stl::string srcFilePath =