[92122] trunk/dports/aqua/qtiplot

nicos at macports.org nicos at macports.org
Thu Apr 19 06:44:29 PDT 2012


Revision: 92122
          https://trac.macports.org/changeset/92122
Author:   nicos at macports.org
Date:     2012-04-19 06:44:29 -0700 (Thu, 19 Apr 2012)
Log Message:
-----------
qtiplot: avoid crash without internet connection (ticket #33712)

Modified Paths:
--------------
    trunk/dports/aqua/qtiplot/Portfile
    trunk/dports/aqua/qtiplot/files/patch-ApplicationWindow.diff

Modified: trunk/dports/aqua/qtiplot/Portfile
===================================================================
--- trunk/dports/aqua/qtiplot/Portfile	2012-04-19 12:31:38 UTC (rev 92121)
+++ trunk/dports/aqua/qtiplot/Portfile	2012-04-19 13:44:29 UTC (rev 92122)
@@ -6,6 +6,7 @@
 
 name                qtiplot
 version             0.9.8.9
+revision            1
 categories          aqua science
 license             GPL-2+
 maintainers         nicos openmaintainer

Modified: trunk/dports/aqua/qtiplot/files/patch-ApplicationWindow.diff
===================================================================
--- trunk/dports/aqua/qtiplot/files/patch-ApplicationWindow.diff	2012-04-19 12:31:38 UTC (rev 92121)
+++ trunk/dports/aqua/qtiplot/files/patch-ApplicationWindow.diff	2012-04-19 13:44:29 UTC (rev 92122)
@@ -1,6 +1,6 @@
---- qtiplot/src/core/ApplicationWindow.cpp.orig	2011-07-14 13:24:58.000000000 +0200
-+++ qtiplot/src/core/ApplicationWindow.cpp	2011-07-20 20:41:23.000000000 +0200
-@@ -173,7 +173,7 @@
+--- qtiplot/src/core/ApplicationWindow.cpp.orig	2011-11-01 14:21:14.000000000 +0900
++++ qtiplot/src/core/ApplicationWindow.cpp	2012-04-19 21:03:12.000000000 +0900
+@@ -174,7 +174,7 @@
  #include <QVarLengthArray>
  #include <QList>
  #include <QUrl>
@@ -9,7 +9,7 @@
  #include <QFontComboBox>
  #include <QSpinBox>
  #include <QMdiArea>
-@@ -347,7 +347,7 @@
+@@ -349,7 +349,7 @@
  	insertTranslatedStrings();
  	disableToolbars();
  
@@ -18,7 +18,7 @@
  
  	connect(tablesDepend, SIGNAL(activated(int)), this, SLOT(showTable(int)));
  
-@@ -11325,10 +11325,10 @@
+@@ -11334,10 +11334,10 @@
  	}
  
  	QStringList cmdLst = QStringList() << "-profile" << profilePath;
@@ -33,7 +33,7 @@
  }
  
  void ApplicationWindow::showHelp()
-@@ -11359,8 +11359,8 @@
+@@ -11368,8 +11368,8 @@
  	}
  
  	QStringList cmdLst = QStringList() << "-profile" << profilePath;
@@ -44,3 +44,12 @@
  }
  
  void ApplicationWindow::showPlotWizard()
+@@ -16228,7 +16228,7 @@
+ 	if (hostInfo.error() != QHostInfo::NoError){
+ 		QApplication::restoreOverrideCursor();
+ 		QMessageBox::critical(this, tr("QtiPlot - Error"), qtiplotWeb + ": " + hostInfo.errorString());
+-		exit(0);
++//		exit(0);
+ 	}
+ 
+ 	QApplication::restoreOverrideCursor();
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120419/d02b83a2/attachment.html>


More information about the macports-changes mailing list