summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-06-07 18:19:14 (GMT)
committerBrad King <brad.king@kitware.com>2010-06-07 18:19:14 (GMT)
commit378c33480e5f68434e41383dbe73dcd86c8f112c (patch)
tree3c922158331f199399cb8664d91fd7453caeafcb /Source
parent6068651cf7cafd0b868f4c8f62d10d729bf1d42a (diff)
parent45d7200a73edc947b6e3672bc7cff65143b82179 (diff)
downloadCMake-378c33480e5f68434e41383dbe73dcd86c8f112c.zip
CMake-378c33480e5f68434e41383dbe73dcd86c8f112c.tar.gz
CMake-378c33480e5f68434e41383dbe73dcd86c8f112c.tar.bz2
Merge branch 'qtdialog'
Diffstat (limited to 'Source')
-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 =