[Foo2zjs-commits] r123 - in trunk/foo2zjs_20070718dfsg/debian: . hannah-package

bedo-guest at alioth.debian.org bedo-guest at alioth.debian.org
Fri Nov 2 00:09:25 UTC 2007


Author: bedo-guest
Date: 2007-11-02 00:09:25 +0000 (Fri, 02 Nov 2007)
New Revision: 123

Modified:
   trunk/foo2zjs_20070718dfsg/debian/changelog
   trunk/foo2zjs_20070718dfsg/debian/hannah-package/gui.cpp
Log:
Let hannah display the debug output


Modified: trunk/foo2zjs_20070718dfsg/debian/changelog
===================================================================
--- trunk/foo2zjs_20070718dfsg/debian/changelog	2007-11-01 15:20:59 UTC (rev 122)
+++ trunk/foo2zjs_20070718dfsg/debian/changelog	2007-11-02 00:09:25 UTC (rev 123)
@@ -4,8 +4,9 @@
         - Added the Homepage tag insted of displaing it in the long description
           (Closes: #439579).
         - Added Vcs-Svn tag.
+  * Now hannah-foo2zjs display the output of an error (Closes:444852) 
 
- -- Luca Bedogni <me at lucabedogni.it>  Thu, 01 Nov 2007 16:18:03 +0100
+ -- Luca Bedogni <me at lucabedogni.it>  Fri, 02 Nov 2007 01:06:58 +0100
 
 foo2zjs (20070718dfsg-5) experimental; urgency=low
 

Modified: trunk/foo2zjs_20070718dfsg/debian/hannah-package/gui.cpp
===================================================================
--- trunk/foo2zjs_20070718dfsg/debian/hannah-package/gui.cpp	2007-11-01 15:20:59 UTC (rev 122)
+++ trunk/foo2zjs_20070718dfsg/debian/hannah-package/gui.cpp	2007-11-02 00:09:25 UTC (rev 123)
@@ -246,7 +246,6 @@
 
 void MainWindow::checkProgram()
 {
- 	
 	switch ( callProgram->exitCode() ) {
 		case 0:
 			QMessageBox::information(this, tr("Hannah - Firmware downloader"),
@@ -255,6 +254,8 @@
 			statusBar->showMessage(tr("Download and installation finished."));
 			break;
 		default:
+                        QMessageBox::critical(this, tr("Hannah - Firmware downloader"),
+                                tr(callProgram->readAllStandardError()));
 			QMessageBox::critical(this, tr("Hannah - Firmware downloader"),
 				tr("Something went wrong during the download and installation process for the following printers:\n"
 					"%1\n").arg(string), QMessageBox::Ok);




More information about the Foo2zjs-commits mailing list