Changeset 257 in flair-src for trunk/tools/FlairGCS/src
- Timestamp:
- Jul 24, 2018, 2:48:16 PM (6 years ago)
- Location:
- trunk/tools/FlairGCS/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/FlairGCS/src/DoubleSpinBox.cpp
r15 r257 20 20 doublespinbox->setSingleStep(step); 21 21 doublespinbox->setDecimals(decimals); 22 if (suffix != "") 23 doublespinbox->setSuffix(suffix); 22 if (suffix != "") doublespinbox->setSuffix(suffix); 24 23 adjust_decimals(value); 25 24 doublespinbox->setValue(value.toDouble()); … … 92 91 } 93 92 94 void DoubleSpinBox::ui_to_xml(void) { SetValue(doublespinbox->cleanText()); } 93 void DoubleSpinBox::ui_to_xml(void) { 94 SetValue(doublespinbox->cleanText()); 95 } 95 96 96 97 void DoubleSpinBox::Reset(void) { -
trunk/tools/FlairGCS/src/file_ui.cpp
r248 r257 36 36 fprintf(stderr,"UDT::setsockopt error (UDT_SNDSYN) %s\n",UDT::getlasterror().getErrorMessage()); 37 37 } 38 39 if (UDT::setsockopt(socket, 0, UDT_RCVSYN, &blocking, sizeof(bool)) != 0) { 40 fprintf(stderr,"UDT::setsockopt error (UDT_RCVSYN) %s\n",UDT::getlasterror().getErrorMessage()); 41 } 38 42 39 43 linger _linger; … … 128 132 bytesRead = UDT::recvmsg(socket, recv_buf, size); 129 133 if (bytesRead != size) { 130 appendToLog(QString(" error receiving file! (%1/%2) ").arg(bytesRead).arg(size));134 appendToLog(QString(" error receiving file! (%1/%2): %3").arg(bytesRead).arg(size).arg(UDT::getlasterror().getErrorMessage())); 131 135 free(recv_buf); 132 136 break;
Note:
See TracChangeset
for help on using the changeset viewer.