summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/QCMake.cxx
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2008-04-02 21:41:24 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2008-04-02 21:41:24 (GMT)
commit7ff914227d32a8cd4a13e1cbf2ff365fcf194374 (patch)
tree07ce09b53ebdd645ba59dd6f7c572ebb9c999910 /Source/QtDialog/QCMake.cxx
parent6292341841c17af7932d27a21404efef4c9c4b5e (diff)
downloadCMake-7ff914227d32a8cd4a13e1cbf2ff365fcf194374.zip
CMake-7ff914227d32a8cd4a13e1cbf2ff365fcf194374.tar.gz
CMake-7ff914227d32a8cd4a13e1cbf2ff365fcf194374.tar.bz2
ENH: Add debug output option to a new Options menu.
Move dev warnings option to the new Options menu. Fixes #6335.
Diffstat (limited to 'Source/QtDialog/QCMake.cxx')
-rw-r--r--Source/QtDialog/QCMake.cxx15
1 files changed, 15 insertions, 0 deletions
diff --git a/Source/QtDialog/QCMake.cxx b/Source/QtDialog/QCMake.cxx
index 43db641..c10d9a6 100644
--- a/Source/QtDialog/QCMake.cxx
+++ b/Source/QtDialog/QCMake.cxx
@@ -362,6 +362,21 @@ void QCMake::reloadCache()
props = this->properties();
emit this->propertiesChanged(props);
}
+
+void QCMake::setDebugOutput(bool flag)
+{
+ if(flag != this->CMakeInstance->GetDebugOutput())
+ {
+ this->CMakeInstance->SetDebugOutputOn(flag);
+ emit this->debugOutputChanged(flag);
+ }
+}
+
+bool QCMake::getDebugOutput() const
+{
+ return this->CMakeInstance->GetDebugOutput();
+}
+
void QCMake::SetSuppressDevWarnings(bool value)
{