diff options
author | senator <senator> | 2008-03-24 13:33:35 +0000 |
---|---|---|
committer | senator <senator> | 2008-03-24 13:33:35 +0000 |
commit | 917aea688614bd29568f7eb37efe8cbd2620b25c (patch) | |
tree | 568937b1a05890f5780500e5ae0696bd55cb1809 /client/builder.cc | |
parent | 2e87c4608a9fb888fd7669756d8cb457ac305f71 (diff) |
Fixed isValid for combobox and radiobuttons
Diffstat (limited to 'client/builder.cc')
-rw-r--r-- | client/builder.cc | 5 |
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); |