summaryrefslogtreecommitdiffstats
path: root/qt-models/weightmodel.cpp
diff options
context:
space:
mode:
authorGravatar Oliver Schwaneberg <oliver.schwaneberg@gmail.com>2018-05-10 17:35:30 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2018-05-11 02:23:51 +0300
commit55ac07f6f69c90bb06b6484233bf671ea60823a9 (patch)
tree44e6eb5e13c30c611e874263115fb91548b78087 /qt-models/weightmodel.cpp
parent67f96ec06c45bf3a1e349c17108777e959efaa3b (diff)
downloadsubsurface-55ac07f6f69c90bb06b6484233bf671ea60823a9.tar.gz
Corrected file name "weigthsysteminfomodel" to "weightsysteminfomodel"
Signed-off-by: Oliver Schwaneberg <oliver.schwaneberg@gmail.com>
Diffstat (limited to 'qt-models/weightmodel.cpp')
-rw-r--r--qt-models/weightmodel.cpp4
1 files changed, 2 insertions, 2 deletions
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;