Silence frontend debug output
authorunc0rr
Sun, 24 May 2009 13:47:07 +0000 (2009-05-24)
changeset 2108 a689375bbfee
parent 2107 9f3e6ed06b3e
child 2109 e5c1810a7214
Silence frontend debug output
QTfrontend/hwform.cpp
QTfrontend/newnetclient.cpp
--- a/QTfrontend/hwform.cpp	Sun May 24 13:04:48 2009 +0000
+++ b/QTfrontend/hwform.cpp	Sun May 24 13:47:07 2009 +0000
@@ -683,7 +683,7 @@
 
 void HWForm::NetDisconnect()
 {
-	qDebug("NetDisconnect");
+	//qDebug("NetDisconnect");
 	if(hwnet) {
 		hwnet->Disconnect();
 		delete hwnet;
--- a/QTfrontend/newnetclient.cpp	Sun May 24 13:04:48 2009 +0000
+++ b/QTfrontend/newnetclient.cpp	Sun May 24 13:47:07 2009 +0000
@@ -215,6 +215,9 @@
 		return ;
 	}
 
+	if (lst[0] == "PROTO")
+		return ;
+
 	if (lst[0] == "ERROR") {
 		if (lst.size() == 2)
 			emit showMessage("Error: " + lst[1]);