+ improve whitespaces

This commit is contained in:
wmayer 2014-04-14 17:14:26 +02:00
parent d13946da11
commit f3b150c3ea

View File

@ -224,7 +224,6 @@ void InputField::setToLastUsedValue(void)
this->setValue(Base::Quantity::parse(hist[0])); this->setValue(Base::Quantity::parse(hist[0]));
} }
void InputField::pushToSavedValues(const QString &valueq) void InputField::pushToSavedValues(const QString &valueq)
{ {
std::string value; std::string value;
@ -269,7 +268,6 @@ std::vector<QString> InputField::getSavedValues(void)
/** Sets the preference path to \a path. */ /** Sets the preference path to \a path. */
void InputField::setParamGrpPath( const QByteArray& path ) void InputField::setParamGrpPath( const QByteArray& path )
{ {
_handle = App::GetApplication().GetParameterGroupByPath( path); _handle = App::GetApplication().GetParameterGroupByPath( path);
if (_handle.isValid()) if (_handle.isValid())
sGroupString = (const char*)path; sGroupString = (const char*)path;
@ -306,8 +304,6 @@ void InputField::setUnit(const Base::Unit& unit)
actUnit = unit; actUnit = unit;
} }
/// get the value of the singleStep property /// get the value of the singleStep property
double InputField::singleStep(void)const double InputField::singleStep(void)const
{ {
@ -364,6 +360,7 @@ int InputField::historySize(void)const
{ {
return HistorySize; return HistorySize;
} }
// set the value of the minimum property // set the value of the minimum property
void InputField::setHistorySize(int i) void InputField::setHistorySize(int i)
{ {
@ -382,7 +379,6 @@ void InputField::selectNumber(void)
i++; i++;
setSelection(0,i); setSelection(0,i);
} }
void InputField::keyPressEvent(QKeyEvent *event) void InputField::keyPressEvent(QKeyEvent *event)
@ -416,6 +412,7 @@ void InputField::wheelEvent (QWheelEvent * event)
this->setText( QString::fromUtf8("%L1 %2").arg(val).arg(actUnitStr)); this->setText( QString::fromUtf8("%L1 %2").arg(val).arg(actUnitStr));
event->accept(); event->accept();
} }
// -------------------------------------------------------------------- // --------------------------------------------------------------------