summaryrefslogtreecommitdiffstats
path: root/qt-models/divelocationmodel.h
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-11-07 22:56:55 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-07 22:26:32 -0800
commit9b20a5bd4feb39574d5d82324dadbc9308cd85e3 (patch)
treeaf253704458faebfaf1a1ec39b6f7b5eee108cd9 /qt-models/divelocationmodel.h
parentaee6f0b2c4131ec65c1e1688eb9648d66c0bd506 (diff)
downloadsubsurface-9b20a5bd4feb39574d5d82324dadbc9308cd85e3.tar.gz
divelocationmodel: fix some signed/unsigned warnings
Use uint32_t for divesite UUIDs. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'qt-models/divelocationmodel.h')
-rw-r--r--qt-models/divelocationmodel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-models/divelocationmodel.h b/qt-models/divelocationmodel.h
index d5b8705ce..f3e9cac1f 100644
--- a/qt-models/divelocationmodel.h
+++ b/qt-models/divelocationmodel.h
@@ -22,7 +22,7 @@ public:
int columnCount(const QModelIndex &parent) const;
int rowCount(const QModelIndex &parent = QModelIndex()) const;
QVariant data(const QModelIndex &index = QModelIndex(), int role = Qt::DisplayRole) const;
- int32_t addDiveSite(const QString& name, timestamp_t divetime, int lat = 0, int lon = 0);
+ uint32_t addDiveSite(const QString& name, timestamp_t divetime, int lat = 0, int lon = 0);
bool setData(const QModelIndex &index, const QVariant &value, int role);
bool removeRows(int row, int count, const QModelIndex & parent = QModelIndex());
void setFirstRowTextField(QLineEdit *textField);