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" #include "desktop-widgets/printdialog.h"
#endif #endif
#include "qt-models/tankinfomodel.h" #include "qt-models/tankinfomodel.h"
#include "qt-models/weigthsysteminfomodel.h" #include "qt-models/weightsysteminfomodel.h"
#include "qt-models/yearlystatisticsmodel.h" #include "qt-models/yearlystatisticsmodel.h"
#include "qt-models/diveplannermodel.h" #include "qt-models/diveplannermodel.h"
#include "qt-models/cylindermodel.h" #include "qt-models/cylindermodel.h"

View file

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

View file

@ -19,7 +19,7 @@ set(SUBSURFACE_DESKTOP_MODELS_LIB_SRCS
treemodel.cpp treemodel.cpp
cylindermodel.cpp cylindermodel.cpp
yearlystatisticsmodel.cpp yearlystatisticsmodel.cpp
weigthsysteminfomodel.cpp weightsysteminfomodel.cpp
weightmodel.cpp weightmodel.cpp
filtermodels.cpp filtermodels.cpp
divecomputermodel.cpp divecomputermodel.cpp

View file

@ -4,7 +4,7 @@
#include "core/gettextfromc.h" #include "core/gettextfromc.h"
#include "core/metrics.h" #include "core/metrics.h"
#include "core/helpers.h" #include "core/helpers.h"
#include "qt-models/weigthsysteminfomodel.h" #include "qt-models/weightsysteminfomodel.h"
WeightModel::WeightModel(QObject *parent) : CleanerTableModel(parent), WeightModel::WeightModel(QObject *parent) : CleanerTableModel(parent),
changed(false), changed(false),
@ -103,7 +103,7 @@ bool WeightModel::setData(const QModelIndex &index, const QVariant &value, int r
switch (index.column()) { switch (index.column()) {
case TYPE: case TYPE:
if (!value.isNull()) { 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) { if (!ws->description || gettextFromC::instance()->tr(ws->description) != vString) {
// loop over translations to see if one matches // loop over translations to see if one matches
int i = -1; int i = -1;

View file

@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0 // SPDX-License-Identifier: GPL-2.0
#include "qt-models/weigthsysteminfomodel.h" #include "qt-models/weightsysteminfomodel.h"
#include "core/dive.h" #include "core/dive.h"
#include "core/metrics.h" #include "core/metrics.h"
#include "core/gettextfromc.h" #include "core/gettextfromc.h"