mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 20:43:24 +00:00
Fix a couple of typos
Signed-off-by: Torstein Husebø <torstein@huseboe.net> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
d3d3cd9e35
commit
6a5279b952
3 changed files with 3 additions and 3 deletions
|
@ -107,7 +107,7 @@ static int parse_gasmixes(device_data_t *devdata, struct dive *dive, dc_parser_t
|
||||||
* dive computer, fill in the default tank information (if set) */
|
* dive computer, fill in the default tank information (if set) */
|
||||||
fill_default_cylinder(&dive->cylinder[i]);
|
fill_default_cylinder(&dive->cylinder[i]);
|
||||||
}
|
}
|
||||||
/* whatever happens, make sure there is a name for the cylidner */
|
/* whatever happens, make sure there is a name for the cylinder */
|
||||||
if (same_string(dive->cylinder[i].type.description, ""))
|
if (same_string(dive->cylinder[i].type.description, ""))
|
||||||
dive->cylinder[i].type.description = strdup(translate("gettextFromC", "unknown"));
|
dive->cylinder[i].type.description = strdup(translate("gettextFromC", "unknown"));
|
||||||
}
|
}
|
||||||
|
|
|
@ -613,7 +613,7 @@ void MainWindow::on_actionDivePlanner_triggered()
|
||||||
|
|
||||||
graphics()->setPlanState();
|
graphics()->setPlanState();
|
||||||
|
|
||||||
// create a simple starting dive, using the first gas from the just copied cylidners
|
// create a simple starting dive, using the first gas from the just copied cylinders
|
||||||
setupForAddAndPlan("planned dive"); // don't translate, stored in XML file
|
setupForAddAndPlan("planned dive"); // don't translate, stored in XML file
|
||||||
DivePlannerPointsModel::instance()->setupStartTime();
|
DivePlannerPointsModel::instance()->setupStartTime();
|
||||||
DivePlannerPointsModel::instance()->createSimpleDive();
|
DivePlannerPointsModel::instance()->createSimpleDive();
|
||||||
|
|
|
@ -252,7 +252,7 @@ TankInfoDelegate::TankInfoDelegate(QObject *parent) : ComboBoxDelegate(TankInfoM
|
||||||
void TankInfoDelegate::reenableReplot(QWidget *widget, QAbstractItemDelegate::EndEditHint hint)
|
void TankInfoDelegate::reenableReplot(QWidget *widget, QAbstractItemDelegate::EndEditHint hint)
|
||||||
{
|
{
|
||||||
MainWindow::instance()->graphics()->setReplot(true);
|
MainWindow::instance()->graphics()->setReplot(true);
|
||||||
// FIXME: We need to replot after a cylidner is selected but the replot below overwrites
|
// FIXME: We need to replot after a cylinder is selected but the replot below overwrites
|
||||||
// the newly selected cylinder.
|
// the newly selected cylinder.
|
||||||
// MainWindow::instance()->graphics()->replot();
|
// MainWindow::instance()->graphics()->replot();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue