Corrected file name "weigthsysteminfomodel" to "weightsysteminfomodel"

Signed-off-by: Oliver Schwaneberg <oliver.schwaneberg@gmail.com>
This commit is contained in:
Oliver Schwaneberg 2018-05-10 17:35:30 +02:00 committed by Lubomir I. Ivanov
parent 67f96ec06c
commit 55ac07f6f6
6 changed files with 6 additions and 6 deletions

View file

@ -33,7 +33,7 @@
#include "desktop-widgets/printdialog.h"
#endif
#include "qt-models/tankinfomodel.h"
#include "qt-models/weigthsysteminfomodel.h"
#include "qt-models/weightsysteminfomodel.h"
#include "qt-models/yearlystatisticsmodel.h"
#include "qt-models/diveplannermodel.h"
#include "qt-models/cylindermodel.h"

View file

@ -8,7 +8,7 @@
#include "desktop-widgets/starwidget.h"
#include "profile-widget/profilewidget2.h"
#include "qt-models/tankinfomodel.h"
#include "qt-models/weigthsysteminfomodel.h"
#include "qt-models/weightsysteminfomodel.h"
#include "qt-models/weightmodel.h"
#include "qt-models/divetripmodel.h"
#include "core/qthelper.h"

View file

@ -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

View file

@ -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;

View file

@ -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"