summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/QCMake.cxx
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2007-11-09 20:18:49 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2007-11-09 20:18:49 (GMT)
commit57e46c74d427e7d0ad19fa8671110908cf325cd9 (patch)
tree7cf188fae4d424ac0c384c3a65795eafd374dfc3 /Source/QtDialog/QCMake.cxx
parente5bb99e01077a8ac084bbd6dbf8e2f81390b5cd9 (diff)
downloadCMake-57e46c74d427e7d0ad19fa8671110908cf325cd9.zip
CMake-57e46c74d427e7d0ad19fa8671110908cf325cd9.tar.gz
CMake-57e46c74d427e7d0ad19fa8671110908cf325cd9.tar.bz2
BUG: Don't prompt for unsaved changes if no changes were made.
ENH: Error messages go to output window instead of message boxes.
Diffstat (limited to 'Source/QtDialog/QCMake.cxx')
-rw-r--r--Source/QtDialog/QCMake.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/QtDialog/QCMake.cxx b/Source/QtDialog/QCMake.cxx
index 9d25170..48a9c57 100644
--- a/Source/QtDialog/QCMake.cxx
+++ b/Source/QtDialog/QCMake.cxx
@@ -255,11 +255,11 @@ void QCMake::progressCallback(const char* msg, float percent, void* cd)
}
}
-void QCMake::errorCallback(const char* msg, const char* title,
- bool& stop, void* cd)
+void QCMake::errorCallback(const char* msg, const char* /*title*/,
+ bool& /*stop*/, void* cd)
{
QCMake* self = reinterpret_cast<QCMake*>(cd);
- emit self->error(title, msg, &stop);
+ emit self->errorMessage(msg);
}
QString QCMake::binaryDirectory() const