diff options
-rw-r--r-- | desktop-widgets/mainwindow.cpp | 2 | ||||
-rw-r--r-- | desktop-widgets/modeldelegates.cpp | 2 | ||||
-rw-r--r-- | qt-models/CMakeLists.txt | 2 | ||||
-rw-r--r-- | qt-models/weightmodel.cpp | 4 | ||||
-rw-r--r-- | qt-models/weightsysteminfomodel.cpp (renamed from qt-models/weigthsysteminfomodel.cpp) | 2 | ||||
-rw-r--r-- | qt-models/weightsysteminfomodel.h (renamed from qt-models/weigthsysteminfomodel.h) | 0 |
6 files changed, 6 insertions, 6 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp index 28366a8f1..beaf3227e 100644 --- a/desktop-widgets/mainwindow.cpp +++ b/desktop-widgets/mainwindow.cpp @@ -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" diff --git a/desktop-widgets/modeldelegates.cpp b/desktop-widgets/modeldelegates.cpp index 871033ebb..edf71f410 100644 --- a/desktop-widgets/modeldelegates.cpp +++ b/desktop-widgets/modeldelegates.cpp @@ -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" diff --git a/qt-models/CMakeLists.txt b/qt-models/CMakeLists.txt index e7f6ec01e..dc840e059 100644 --- a/qt-models/CMakeLists.txt +++ b/qt-models/CMakeLists.txt @@ -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 diff --git a/qt-models/weightmodel.cpp b/qt-models/weightmodel.cpp index 8dd9b0223..227bb7be0 100644 --- a/qt-models/weightmodel.cpp +++ b/qt-models/weightmodel.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; diff --git a/qt-models/weigthsysteminfomodel.cpp b/qt-models/weightsysteminfomodel.cpp index 608a70e56..08fecec5d 100644 --- a/qt-models/weigthsysteminfomodel.cpp +++ b/qt-models/weightsysteminfomodel.cpp @@ -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" diff --git a/qt-models/weigthsysteminfomodel.h b/qt-models/weightsysteminfomodel.h index 98c11d814..98c11d814 100644 --- a/qt-models/weigthsysteminfomodel.h +++ b/qt-models/weightsysteminfomodel.h |