diff options
Diffstat (limited to 'sci-visualization/qtiplot/files/qtiplot-0.9.8.9-crasher_without_internet.patch')
-rw-r--r-- | sci-visualization/qtiplot/files/qtiplot-0.9.8.9-crasher_without_internet.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/sci-visualization/qtiplot/files/qtiplot-0.9.8.9-crasher_without_internet.patch b/sci-visualization/qtiplot/files/qtiplot-0.9.8.9-crasher_without_internet.patch deleted file mode 100644 index fe542341e99d..000000000000 --- a/sci-visualization/qtiplot/files/qtiplot-0.9.8.9-crasher_without_internet.patch +++ /dev/null @@ -1,25 +0,0 @@ -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) |