[Kst] branches/work/kst/portto4/kst/src/libkst

Peter Kümmel syntheticpp at gmx.net
Wed Oct 17 18:09:19 UTC 2012


SVN commit 1320972 by kuemmel:

give a hint when realloc fails

 M  +1 -0      primitive.cpp  


--- branches/work/kst/portto4/kst/src/libkst/primitive.cpp #1320971:1320972
@@ -106,6 +106,7 @@
 {
   QString message = msg;
   message +="\nError could be ignored, but chances are high that Kst will crash.";
+  message += "\nWhen reading ASCII data you could limit the size of the file buffer to save memory.";
   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