[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/kst/portto4/kst/src/libkst
From: Peter Kümmel <syntheticpp () gmx ! net>
Date: 2012-10-08 17:40:21
Message-ID: 20121008174021.41FCDAC852 () svn ! kde ! org
[Download RAW message or body]
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);
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic