[Foo2zjs-commits] r73 - trunk/hannah
white at alioth.debian.org
white at alioth.debian.org
Fri Sep 28 09:28:29 UTC 2007
Author: white
Date: 2007-09-28 09:28:29 +0000 (Fri, 28 Sep 2007)
New Revision: 73
Modified:
trunk/hannah/gui.cpp
trunk/hannah/gui.h
Log:
defining it in the method is saner and keeps the QStringList with the content we want
Modified: trunk/hannah/gui.cpp
===================================================================
--- trunk/hannah/gui.cpp 2007-09-28 09:23:21 UTC (rev 72)
+++ trunk/hannah/gui.cpp 2007-09-28 09:28:29 UTC (rev 73)
@@ -163,6 +163,7 @@
int count = 0;
QStringList current_list;
current_list << "hp2600" << "hp1600" << "hp1020" << "hp1018" << "hp1005" << "hp1000" << "minolta2530" << "minolta2490" << "minolta2480" << "minolta2430" << "minolta2300" << "minolta2200" << "minoltapro" << "samsung3160" << "samsung600" << "samsung300" << "xerox6115" << "xerox6110";
+ QStringList arguments;
foreach( a, buttonGroup->buttons() ) {
if ( a->isChecked() ) {
@@ -170,6 +171,5 @@
}
count++;
}
- // Make sure to empty arguments, after it is used for the script
qDebug()<<arguments;
};
Modified: trunk/hannah/gui.h
===================================================================
--- trunk/hannah/gui.h 2007-09-28 09:23:21 UTC (rev 72)
+++ trunk/hannah/gui.h 2007-09-28 09:28:29 UTC (rev 73)
@@ -44,7 +44,6 @@
QCheckBox *xerox6110Button;
QButtonGroup *buttonGroup;
- QStringList arguments;
private slots:
void callGetweb();
More information about the Foo2zjs-commits
mailing list