From kde-commits Wed Oct 17 18:09:19 2012 From: =?utf-8?q?Peter=20K=C3=BCmmel?= Date: Wed, 17 Oct 2012 18:09:19 +0000 To: kde-commits Subject: branches/work/kst/portto4/kst/src/libkst Message-Id: <20121017180919.4E059AC85B () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=135049737519419 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);