From e50903248fd1330b8470df8eb12a9510c75cfdc7 Mon Sep 17 00:00:00 2001 From: Clinton Stimpson Date: Mon, 10 Aug 2009 14:32:08 -0400 Subject: [PATCH] ENH: Patch from Alexander Neundorf to remove "KDevelop3" from list of generators. "KDevelop3 - Unix Makefiles" should be used instead. --- Source/QtDialog/QCMake.cxx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Source/QtDialog/QCMake.cxx b/Source/QtDialog/QCMake.cxx index 580eacc4f5..42a2fe744d 100644 --- a/Source/QtDialog/QCMake.cxx +++ b/Source/QtDialog/QCMake.cxx @@ -67,6 +67,15 @@ QCMake::QCMake(QObject* p) std::vector::iterator iter; for(iter = generators.begin(); iter != generators.end(); ++iter) { + // Skip the generator "KDevelop3", since there is also + // "KDevelop3 - Unix Makefiles", which is the full and official name. + // The short name is actually only still there since this was the name + // in CMake 2.4, to keep "command line argument compatibility", but + // this is not necessary in the GUI. + if (*iter == "KDevelop3") + { + continue; + } this->AvailableGenerators.append(iter->c_str()); } }