[Foo2zjs-commits] r89 - trunk/hannah

white at alioth.debian.org white at alioth.debian.org
Fri Sep 28 15:15:39 UTC 2007


Author: white
Date: 2007-09-28 15:15:38 +0000 (Fri, 28 Sep 2007)
New Revision: 89

Modified:
   trunk/hannah/gui.cpp
Log:
Reflect the outcome of the download process on the StatusBar

Modified: trunk/hannah/gui.cpp
===================================================================
--- trunk/hannah/gui.cpp	2007-09-28 15:10:50 UTC (rev 88)
+++ trunk/hannah/gui.cpp	2007-09-28 15:15:38 UTC (rev 89)
@@ -252,11 +252,13 @@
 			QMessageBox::information(this, tr("Hannah - Firmware downloader"),
 				tr("The firmware for the following printers was downloaded and installed successfully:\n"
 					"%1\n").arg(string), QMessageBox::Ok);
+			statusBar->showMessage(tr("Download and installation finished."));
 			break;
 		default:
 			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);
+			statusBar->showMessage(tr("An error occured during download and installation process."));
 			break;
 	}
 




More information about the Foo2zjs-commits mailing list