summaryrefslogtreecommitdiffstats
path: root/profile-widget
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2016-03-09 15:15:53 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-09 11:43:53 -0800
commit0f386420e0fea9e116290767c72ef45bf657bf0e (patch)
tree4e6415b9afc84496b8e6bc0d8472515eed28a316 /profile-widget
parent309f0f722a8646701ff0ede7d405dd2d7082f835 (diff)
downloadsubsurface-0f386420e0fea9e116290767c72ef45bf657bf0e.tar.gz
Silence warnings in divetooltipitem.cpp
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile-widget')
-rw-r--r--profile-widget/divetooltipitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/profile-widget/divetooltipitem.cpp b/profile-widget/divetooltipitem.cpp
index 78de4641b..6d6405056 100644
--- a/profile-widget/divetooltipitem.cpp
+++ b/profile-widget/divetooltipitem.cpp
@@ -243,7 +243,7 @@ void ToolTipItem::refresh(const QPointF &pos)
struct plot_data *entry;
static QPixmap tissues(16,60);
static QPainter painter(&tissues);
- static struct membuffer mb = { 0 };
+ static struct membuffer mb = {};
if(refreshTime.elapsed() < 40)
return;