Ignore:
Timestamp:
Sep 23, 2015, 6:35:24 PM (11 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
master
Children:
f8c242e
Parents:
93ea008
Message:

command line client is now able to register stations. All entered data could be reviewed by the user and edited again, before sending it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/clientcommandline/inputoutputhandler.cpp

    r93ea008 r17ef75d  
    4646                return QString();
    4747       
    48         _in->skipWhiteSpace(); //Important line!
    49         return _in->readLine();
     48        QString line = _in->readLine();
     49        return line.trimmed();
     50}
     51
     52void InputOutputHandler::setFieldWidth(int columns)
     53{
     54        if(!_out)
     55                return;
     56        _out->setFieldWidth(columns);
     57        _out->setFieldAlignment(QTextStream::AlignLeft);
    5058}
    5159
Note: See TracChangeset for help on using the changeset viewer.