mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Corrected file name "weigthsysteminfomodel" to "weightsysteminfomodel"
Signed-off-by: Oliver Schwaneberg <oliver.schwaneberg@gmail.com>
This commit is contained in:
		
							parent
							
								
									67f96ec06c
								
							
						
					
					
						commit
						55ac07f6f6
					
				
					 6 changed files with 6 additions and 6 deletions
				
			
		|  | @ -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" | ||||
|  |  | |||
|  | @ -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" | ||||
|  |  | |||
|  | @ -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" | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue