diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-01-19 18:15:03 +1200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-19 18:15:03 +1200 |
commit | de9acbd30d5af81d5774a92e4734e04cdb3084b1 (patch) | |
tree | d8610aba6b152832d6a2b894584fbb77f546db2c /qt-ui/profile/tankitem.cpp | |
parent | 93058f28ea886b06a012daeba49c3c9eb95a587d (diff) | |
parent | f448bfd574bb9aa4593b43392131174dc489a4b0 (diff) | |
download | subsurface-de9acbd30d5af81d5774a92e4734e04cdb3084b1.tar.gz |
Merge branch 'latestmaster'
Diffstat (limited to 'qt-ui/profile/tankitem.cpp')
-rw-r--r-- | qt-ui/profile/tankitem.cpp | 2 |
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(); } |