summaryrefslogtreecommitdiff
path: root/client/builder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/builder.cc')
-rw-r--r--client/builder.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/client/builder.cc b/client/builder.cc
index 29f58d0..b5a9928 100644
--- a/client/builder.cc
+++ b/client/builder.cc
@@ -130,9 +130,6 @@ bool Builder::doCommit()
while (i != widgets.end()) {
Widget* w = *i;
if(!w->isValid()) faulty++; // Regexp check, returns valid if entry passed
-
- // All selectable entries return "none" if nothing is selected
- //if(w->getValue() == "none") faulty++; // Faulty+1 if error detected
i++;
}
@@ -198,7 +195,7 @@ void Builder::commit()
void Builder::reset()
{
- int ret = QMessageBox::warning(NULL, tr("Reset"),
+ QMessageBox::warning(NULL, tr("Reset"),
tr("Du har valgt at nulstille de indtastede data.\n"
"Er du sikker?"),
QMessageBox::Yes | QMessageBox::Cancel);