mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Typo: indice -> index
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
d9ac716162
commit
85ac3106e6
7 changed files with 14 additions and 14 deletions
|
@ -137,7 +137,7 @@ void emptyList(QList<T *> &list, double steps)
|
|||
}
|
||||
}
|
||||
|
||||
void DiveCartesianAxis::updateTicks(color_indice_t color)
|
||||
void DiveCartesianAxis::updateTicks(color_index_t color)
|
||||
{
|
||||
if (!scene() || (!changed && !profileWidget->getPrintMode()))
|
||||
return;
|
||||
|
@ -398,7 +398,7 @@ QString TimeAxis::textForValue(double value)
|
|||
return QString::number(nr);
|
||||
}
|
||||
|
||||
void TimeAxis::updateTicks(color_indice_t color)
|
||||
void TimeAxis::updateTicks(color_index_t color)
|
||||
{
|
||||
DiveCartesianAxis::updateTicks(color);
|
||||
if (maximum() > 600) {
|
||||
|
|
|
@ -52,7 +52,7 @@ public:
|
|||
int unitSystem;
|
||||
public
|
||||
slots:
|
||||
virtual void updateTicks(color_indice_t color = TIME_GRID);
|
||||
virtual void updateTicks(color_index_t color = TIME_GRID);
|
||||
|
||||
signals:
|
||||
void sizeChanged();
|
||||
|
@ -93,7 +93,7 @@ class TimeAxis : public DiveCartesianAxis {
|
|||
Q_OBJECT
|
||||
public:
|
||||
TimeAxis(ProfileWidget2 *widget);
|
||||
void updateTicks(color_indice_t color = TIME_GRID);
|
||||
void updateTicks(color_index_t color = TIME_GRID);
|
||||
|
||||
protected:
|
||||
QString textForValue(double value);
|
||||
|
|
|
@ -355,7 +355,7 @@ void ProfileWidget2::replot(struct dive *d)
|
|||
plotDive(d, true);
|
||||
}
|
||||
|
||||
void ProfileWidget2::createPPGas(PartialPressureGasItem *item, int verticalColumn, color_indice_t color, color_indice_t colorAlert,
|
||||
void ProfileWidget2::createPPGas(PartialPressureGasItem *item, int verticalColumn, color_index_t color, color_index_t colorAlert,
|
||||
double *thresholdSettingsMin, double *thresholdSettingsMax)
|
||||
{
|
||||
setupItem(item, gasYAxis, verticalColumn, DivePlotDataModel::TIME, 0);
|
||||
|
|
|
@ -162,7 +162,7 @@ private: /*methods*/
|
|||
void disconnectTemporaryConnections();
|
||||
struct plot_data *getEntryFromPos(QPointF pos);
|
||||
void addActionShortcut(const Qt::Key shortcut, void (ProfileWidget2::*slot)());
|
||||
void createPPGas(PartialPressureGasItem *item, int verticalColumn, color_indice_t color, color_indice_t colorAlert,
|
||||
void createPPGas(PartialPressureGasItem *item, int verticalColumn, color_index_t color, color_index_t colorAlert,
|
||||
double *thresholdSettingsMin, double *thresholdSettingsMax);
|
||||
private:
|
||||
DivePlotDataModel *dataModel;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue