diff options
| author | Joel Klinghed <the_jk@yahoo.com> | 2017-07-30 00:51:29 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@yahoo.com> | 2017-07-30 00:51:29 +0200 |
| commit | 445c6af525f543255f0f4971f8cc554a96f4ab4c (patch) | |
| tree | 2ae06e91925518a7fc40f023ef88c88f338428b7 | |
| parent | 1536057d4a357f28ba27407cc2294527f85b8fd4 (diff) | |
Add two missing break in QT GUI
| -rw-r--r-- | src/gui_qt.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui_qt.cc b/src/gui_qt.cc index 8607e16..0abc052 100644 --- a/src/gui_qt.cc +++ b/src/gui_qt.cc @@ -1212,6 +1212,7 @@ protected: edit->setText(tmp); edit->setValidator(new QIntValidator( 0, std::numeric_limits<int>::max(), edit)); + break; } case FILE: edit->setText(QString::fromStdString( @@ -1288,6 +1289,7 @@ protected: case NUMBER: get_number(value->edit_, &static_cast<NumberValue*>(value.get())->value_); + break; case FILE: static_cast<FileValue*>(value.get())->value_ = value->edit_->text().toStdString(); |
