[Kst] branches/work/kst/portto4/kst/src/libkst
Peter Kümmel
syntheticpp at gmx.net
Mon Oct 8 17:40:21 UTC 2012
SVN commit 1319744 by kuemmel:
add option to proceed after realloc error
M +2 -1 primitive.cpp
--- branches/work/kst/portto4/kst/src/libkst/primitive.cpp #1319743:1319744
@@ -99,7 +99,8 @@
void Primitive::fatalError(const QString& msg)
{
QString message = msg;
- QMessageBox::StandardButton btn = QMessageBox::critical(0, "A fatal error occurred", message, QMessageBox::Abort);
+ message +="\nError could be ignored, but chances are high that Kst will crash.";
+ QMessageBox::StandardButton btn = QMessageBox::critical(0, "A fatal error occurred", message, QMessageBox::Abort | QMessageBox::Ignore);
if (btn == QMessageBox::Abort) {
exit(-2);
}
More information about the Kst
mailing list