summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/CMakeSetup.cxx
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2009-10-26 17:18:15 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2009-10-26 17:18:15 (GMT)
commit0b8837814afb82547d4c78d153db1fd7b1b34cfe (patch)
tree4fd1b9700dfa3034f837251f10e64a848feb7613 /Source/QtDialog/CMakeSetup.cxx
parent6e3dd78b8ba5ebceade06744806e98038aa2569e (diff)
downloadCMake-0b8837814afb82547d4c78d153db1fd7b1b34cfe.zip
CMake-0b8837814afb82547d4c78d153db1fd7b1b34cfe.tar.gz
CMake-0b8837814afb82547d4c78d153db1fd7b1b34cfe.tar.bz2
ENH: Move SetErrorMode around calls to generate and configure instead of setting it for the whole application.
Diffstat (limited to 'Source/QtDialog/CMakeSetup.cxx')
-rw-r--r--Source/QtDialog/CMakeSetup.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/Source/QtDialog/CMakeSetup.cxx b/Source/QtDialog/CMakeSetup.cxx
index 7bc6f72..f19a36d 100644
--- a/Source/QtDialog/CMakeSetup.cxx
+++ b/Source/QtDialog/CMakeSetup.cxx
@@ -16,11 +16,6 @@
#include <QTranslator>
#include <QLocale>
#include "QMacInstallDialog.h"
-
-#ifdef Q_OS_WIN
-#include "windows.h" // for SetErrorMode
-#endif
-
#include "CMakeSetupDialog.h"
#include "cmDocumentation.h"
#include "cmake.h"
@@ -103,10 +98,6 @@ int main(int argc, char** argv)
}
QApplication app(argc, argv);
-#ifdef Q_OS_WIN
- // QApplication changes error mode, let's put it back
- SetErrorMode(0);
-#endif
// clean out standard Qt paths for plugins, which we don't use anyway
// when creating Mac bundles, it potentially causes problems