You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-visualization/qtiplot/files/qtiplot-0.9.8.9-crasher_wit...

26 lines
939 B

Description: Crashes if not connected to the internet.
Author: Scott Howard <showard@debian.org>
Bug-Debian: http://bugs.debian.org/626915
Index: qtiplot/qtiplot/src/core/ApplicationWindow.cpp
===================================================================
--- qtiplot.orig/qtiplot/src/core/ApplicationWindow.cpp 2012-11-07 11:14:15.021706679 -0500
+++ qtiplot/qtiplot/src/core/ApplicationWindow.cpp 2012-11-07 11:14:22.853706641 -0500
@@ -16228,11 +16228,12 @@
if (hostInfo.error() != QHostInfo::NoError){
QApplication::restoreOverrideCursor();
QMessageBox::critical(this, tr("QtiPlot - Error"), qtiplotWeb + ": " + hostInfo.errorString());
- exit(0);
+ QApplication::restoreOverrideCursor();
+ }
+ else {
+ QApplication::restoreOverrideCursor();
+ showDonationsPage();
}
-
- QApplication::restoreOverrideCursor();
- showDonationsPage();
}
void ApplicationWindow::parseCommandLineArguments(const QStringList& args)