mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 08:08:42 +00:00
Minor typo fixes in comment.
This commit is contained in:
committed by
Damien Grauser
parent
c0cf875f1b
commit
04b6bab3e5
@@ -71,7 +71,7 @@ public:
|
||||
ZoneItem( const QString &title )
|
||||
{
|
||||
setTitle( title );
|
||||
setZ( 11 ); // on top the the grid
|
||||
setZ( 11 ); // on top the grid
|
||||
setOrientation( Qt::Vertical );
|
||||
setItemAttribute( QwtPlotItem::Legend, true );
|
||||
}
|
||||
|
||||
@@ -1177,7 +1177,7 @@ void QwtPlotLayout::setAlignCanvasToScales( bool on )
|
||||
|
||||
The axisId parameter is somehow confusing as it identifies a border
|
||||
of the plot and not the axes, that are aligned. F.e when QwtAxis::yLeft
|
||||
is set, the left end of the the x-axes ( QwtAxis::xTop, QwtAxis::xBottom )
|
||||
is set, the left end of the x-axes ( QwtAxis::xTop, QwtAxis::xBottom )
|
||||
is aligned.
|
||||
|
||||
\param axisId Axis index
|
||||
|
||||
@@ -243,7 +243,7 @@ void QwtPlotTextLabel::draw( QPainter *painter,
|
||||
\param rect Canvas rectangle with margins subtracted
|
||||
\param textSize Size required to draw the text
|
||||
|
||||
\return A rectangle aligned according the the alignment flags of
|
||||
\return A rectangle aligned according the alignment flags of
|
||||
the text.
|
||||
|
||||
\sa setMargin(), QwtText::renderFlags(), QwtText::textSize()
|
||||
|
||||
@@ -452,7 +452,7 @@ void QwtPlotZoomer::moveBy( double dx, double dy )
|
||||
}
|
||||
|
||||
/*!
|
||||
Move the the current zoom rectangle.
|
||||
Move the current zoom rectangle.
|
||||
|
||||
\param pos New position
|
||||
|
||||
|
||||
@@ -451,7 +451,7 @@ void QwtScaleWidget::draw( QPainter *painter ) const
|
||||
}
|
||||
|
||||
/*!
|
||||
Calculate the the rectangle for the color bar
|
||||
Calculate the rectangle for the color bar
|
||||
|
||||
\param rect Bounding rectangle for all components of the scale
|
||||
\return Rectangle for the color bar
|
||||
|
||||
@@ -267,7 +267,7 @@ QWT_EXPORT QRectF qwtBoundingRect(
|
||||
Binary search for a sorted series of samples
|
||||
|
||||
qwtUpperSampleIndex returns the index of sample that is the upper bound
|
||||
of value. Is the the value smaller than the smallest value the return
|
||||
of value. Is the value smaller than the smallest value the return
|
||||
value will be 0. Is the value greater or equal than the largest
|
||||
value the return value will be -1.
|
||||
|
||||
|
||||
@@ -75,10 +75,10 @@ public:
|
||||
*/
|
||||
void setData( QwtSeriesData<T> *series );
|
||||
|
||||
//! \return the the series data
|
||||
//! \return the series data
|
||||
QwtSeriesData<T> *data();
|
||||
|
||||
//! \return the the series data
|
||||
//! \return the series data
|
||||
const QwtSeriesData<T> *data() const;
|
||||
|
||||
/*!
|
||||
|
||||
@@ -125,7 +125,7 @@ QwtSlider::QwtSlider( QWidget *parent ):
|
||||
Construct a slider in QwtSlider::Trough style
|
||||
|
||||
When orientation is Qt::Vertical the scale will be aligned to
|
||||
the left - otherwise at the the top of the slider.
|
||||
the left - otherwise at the top of the slider.
|
||||
|
||||
The scale is initialized to [0.0, 100.0] and the value set to 0.0.
|
||||
|
||||
|
||||
@@ -132,7 +132,7 @@ public:
|
||||
|
||||
F.e. the raster paint engine is a pure software renderer
|
||||
where in cache mode a draw operation usually ends in
|
||||
raster operation with the the backing store, that are usually
|
||||
raster operation with the backing store, that are usually
|
||||
faster, than the algorithms for rendering polygons.
|
||||
But the opposite can be expected for graphic pipelines
|
||||
that can make use of hardware acceleration.
|
||||
|
||||
@@ -219,7 +219,7 @@ RideFile *CsvFileReader::openRideFile(QFile &file, QStringList &errors, QList<Ri
|
||||
bool eof = false;
|
||||
while (!is.atEnd() && !eof) {
|
||||
// the readLine() method doesn't handle old Macintosh CR line endings
|
||||
// this workaround will load the the entire file if it has CR endings
|
||||
// this workaround will load the entire file if it has CR endings
|
||||
// then split and loop through each line
|
||||
// otherwise, there will be nothing to split and it will read each line as expected.
|
||||
QString linesIn = is.readLine();
|
||||
|
||||
@@ -56,7 +56,7 @@ RideFile *ManualFileReader::openRideFile(QFile &file, QStringList &errors, QList
|
||||
RideFile *rideFile = new RideFile();
|
||||
while (!is.atEnd()) {
|
||||
// the readLine() method doesn't handle old Macintosh CR line endings
|
||||
// this workaround will load the the entire file if it has CR endings
|
||||
// this workaround will load the entire file if it has CR endings
|
||||
// then split and loop through each line
|
||||
// otherwise, there will be nothing to split and it will read each line as expected.
|
||||
QString linesIn = is.readLine();
|
||||
|
||||
@@ -63,7 +63,7 @@ bool ScanPddFile(QFile &file, QString &hrmFile, QString &hrvFile, QString &gpxFi
|
||||
|
||||
while (!is.atEnd()) {
|
||||
// the readLine() method doesn't handle old Macintosh CR line
|
||||
// endings this workaround will load the the entire file if it
|
||||
// endings this workaround will load the entire file if it
|
||||
// has CR endings then split and loop through each line
|
||||
// otherwise, there will be nothing to split and it will read
|
||||
// each line as expected.
|
||||
@@ -212,7 +212,7 @@ void HrmRideFile(RideFile *rideFile, RideFile*gpxresult, bool haveGPX, XDataSeri
|
||||
|
||||
while (!is.atEnd()) {
|
||||
// the readLine() method doesn't handle old Macintosh CR line
|
||||
// endings this workaround will load the the entire file if it
|
||||
// endings this workaround will load the entire file if it
|
||||
// has CR endings then split and loop through each line
|
||||
// otherwise, there will be nothing to split and it will read
|
||||
// each line as expected.
|
||||
|
||||
@@ -155,7 +155,7 @@ RideFile *TxtFileReader::openRideFile(QFile &file, QStringList &errors, QList<Ri
|
||||
while (!is.atEnd()) {
|
||||
|
||||
// the readLine() method doesn't handle old Macintosh CR line endings
|
||||
// this workaround will load the the entire file if it has CR endings
|
||||
// this workaround will load the entire file if it has CR endings
|
||||
// then split and loop through each line
|
||||
// otherwise, there will be nothing to split and it will read each line as expected.
|
||||
QString linesIn = is.readLine();
|
||||
|
||||
@@ -456,7 +456,7 @@ SearchBox::addNamed()
|
||||
}
|
||||
|
||||
//
|
||||
// Working with the the autocompleter
|
||||
// Working with the autocompleter
|
||||
//
|
||||
void SearchBox::setCompleter(DataFilterCompleter *completer)
|
||||
{
|
||||
|
||||
@@ -396,7 +396,7 @@ void ErgFile::parseComputrainer(QString p)
|
||||
|
||||
// Code plagiarised from CsvRideFile.
|
||||
// the readLine() method doesn't handle old Macintosh CR line endings
|
||||
// this workaround will load the the entire file if it has CR endings
|
||||
// this workaround will load the entire file if it has CR endings
|
||||
// then split and loop through each line
|
||||
// otherwise, there will be nothing to split and it will read each line as expected.
|
||||
QString linesIn = (p != "" ? stringStream.readLine() : ergFile.readLine());
|
||||
|
||||
Reference in New Issue
Block a user