summaryrefslogtreecommitdiffstats
path: root/sigmodr/widgets/ObjectUIPrivate.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-03-16 01:17:59 -0400
committerBen Boeckel <MathStuf@gmail.com>2009-03-16 01:17:59 -0400
commit0651dafdc7898b81546b5e0b84744781aadf70a8 (patch)
tree671c6b4e9520cc1a98c7a2406edb6b0667a92ec3 /sigmodr/widgets/ObjectUIPrivate.cpp
parent9320a613e791e3dfc30062704373fa4b2baed8fd (diff)
downloadsigen-0651dafdc7898b81546b5e0b84744781aadf70a8.tar.gz
sigen-0651dafdc7898b81546b5e0b84744781aadf70a8.tar.xz
sigen-0651dafdc7898b81546b5e0b84744781aadf70a8.zip
Better message context for internal errors that should never happen
Diffstat (limited to 'sigmodr/widgets/ObjectUIPrivate.cpp')
-rw-r--r--sigmodr/widgets/ObjectUIPrivate.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sigmodr/widgets/ObjectUIPrivate.cpp b/sigmodr/widgets/ObjectUIPrivate.cpp
index 4398ac8a..336b9889 100644
--- a/sigmodr/widgets/ObjectUIPrivate.cpp
+++ b/sigmodr/widgets/ObjectUIPrivate.cpp
@@ -65,12 +65,12 @@ QWidget* ObjectUIPrivate::openUiFile(const QString& filename, ObjectUI* parent)
void ObjectUIPrivate::errorMessage(const QString& message)
{
- KMessageBox::error(NULL, message, "Error");
+ KMessageBox::error(NULL, QString("Oops! The developers forgot something! Please report the error to them and it will be addressed in the following release.\n%1").arg(message), "Error");
}
void ObjectUIPrivate::warningMessage(const QString& message)
{
- KMessageBox::warningContinueCancel(NULL, message, "Warning");
+ KMessageBox::warningContinueCancel(NULL, QString("Oops. Something isn\'t quite right. Please report the problem and it will be addressed in the following release.\n%1").arg(message), "Warning");
}
void ObjectUIPrivate::makeConnections(ObjectUI* widget)