Corrected file name "weigthsysteminfomodel" to "weightsysteminfomodel"
Signed-off-by: Oliver Schwaneberg <oliver.schwaneberg@gmail.com>
This commit is contained in:
committed by
Lubomir I. Ivanov
parent
67f96ec06c
commit
55ac07f6f6
@@ -19,7 +19,7 @@ set(SUBSURFACE_DESKTOP_MODELS_LIB_SRCS
|
||||
treemodel.cpp
|
||||
cylindermodel.cpp
|
||||
yearlystatisticsmodel.cpp
|
||||
weigthsysteminfomodel.cpp
|
||||
weightsysteminfomodel.cpp
|
||||
weightmodel.cpp
|
||||
filtermodels.cpp
|
||||
divecomputermodel.cpp
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include "core/gettextfromc.h"
|
||||
#include "core/metrics.h"
|
||||
#include "core/helpers.h"
|
||||
#include "qt-models/weigthsysteminfomodel.h"
|
||||
#include "qt-models/weightsysteminfomodel.h"
|
||||
|
||||
WeightModel::WeightModel(QObject *parent) : CleanerTableModel(parent),
|
||||
changed(false),
|
||||
@@ -103,7 +103,7 @@ bool WeightModel::setData(const QModelIndex &index, const QVariant &value, int r
|
||||
switch (index.column()) {
|
||||
case TYPE:
|
||||
if (!value.isNull()) {
|
||||
//TODO: C-function weigth_system_set_description ?
|
||||
//TODO: C-function weight_system_set_description ?
|
||||
if (!ws->description || gettextFromC::instance()->tr(ws->description) != vString) {
|
||||
// loop over translations to see if one matches
|
||||
int i = -1;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include "qt-models/weigthsysteminfomodel.h"
|
||||
#include "qt-models/weightsysteminfomodel.h"
|
||||
#include "core/dive.h"
|
||||
#include "core/metrics.h"
|
||||
#include "core/gettextfromc.h"
|
||||
Reference in New Issue
Block a user