aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/tankitem.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-19 18:15:03 +1200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-19 18:15:03 +1200
commitde9acbd30d5af81d5774a92e4734e04cdb3084b1 (patch)
treed8610aba6b152832d6a2b894584fbb77f546db2c /qt-ui/profile/tankitem.cpp
parent93058f28ea886b06a012daeba49c3c9eb95a587d (diff)
parentf448bfd574bb9aa4593b43392131174dc489a4b0 (diff)
downloadsubsurface-de9acbd30d5af81d5774a92e4734e04cdb3084b1.tar.gz
Merge branch 'latestmaster'
Diffstat (limited to 'qt-ui/profile/tankitem.cpp')
-rw-r--r--qt-ui/profile/tankitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/profile/tankitem.cpp b/qt-ui/profile/tankitem.cpp
index 48b586dd5..c0e75a371 100644
--- a/qt-ui/profile/tankitem.cpp
+++ b/qt-ui/profile/tankitem.cpp
@@ -50,7 +50,7 @@ void TankItem::setData(DivePlotDataModel *model, struct plot_info *plotInfo, str
memcpy(pInfoEntry, plotInfo->entry, size);
copy_cylinders(d, &diveCylinderStore, false);
dataModel = model;
- connect(dataModel, SIGNAL(dataChanged(QModelIndex, QModelIndex)), this, SLOT(modelDataChanged(QModelIndex, QModelIndex)));
+ connect(dataModel, SIGNAL(dataChanged(QModelIndex, QModelIndex)), this, SLOT(modelDataChanged(QModelIndex, QModelIndex)), Qt::UniqueConnection);
modelDataChanged();
}