diff options
author | Anton Lundin <glance@acc.umu.se> | 2013-12-09 22:37:50 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-12-09 22:47:28 +0100 |
commit | 26a1904cf88a97474468fab33879a0c3235e56ac (patch) | |
tree | b726a95fdd6f6631e467e2f78566d622cc23c75e /qt-ui | |
parent | a3f3e85246d8bebdf8a2e0611dce2c4c48d5e7b2 (diff) | |
download | subsurface-26a1904cf88a97474468fab33879a0c3235e56ac.tar.gz |
Remove some unused variables
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/diveplanner.h | 2 | ||||
-rw-r--r-- | qt-ui/profilegraphics.cpp | 2 | ||||
-rw-r--r-- | qt-ui/profilegraphics.h | 1 | ||||
-rw-r--r-- | qt-ui/subsurfacewebservices.cpp | 2 |
4 files changed, 0 insertions, 7 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h index d65757262..a3c50919c 100644 --- a/qt-ui/diveplanner.h +++ b/qt-ui/diveplanner.h @@ -150,8 +150,6 @@ private: double min; double max; double interval; - double posBegin; - double posEnd; double tickSize; QColor textColor; }; diff --git a/qt-ui/profilegraphics.cpp b/qt-ui/profilegraphics.cpp index 176225aa8..f99fd4d2e 100644 --- a/qt-ui/profilegraphics.cpp +++ b/qt-ui/profilegraphics.cpp @@ -492,8 +492,6 @@ void ProfileGraphicsView::plot_depth_scale() case units::FEET: marker = 9144; break; /* 30 ft */ } - QColor c(getColor(DEPTH_GRID)); - /* don't write depth labels all the way to the bottom as * there may be other graphs below the depth plot (like * partial pressure graphs) where this would look out diff --git a/qt-ui/profilegraphics.h b/qt-ui/profilegraphics.h index be9c707ba..29315a749 100644 --- a/qt-ui/profilegraphics.h +++ b/qt-ui/profilegraphics.h @@ -104,7 +104,6 @@ public: struct event* ev; private: - ToolTipItem *controller; QString text; bool isGrayscale; diff --git a/qt-ui/subsurfacewebservices.cpp b/qt-ui/subsurfacewebservices.cpp index f0e68a4ac..a8421def9 100644 --- a/qt-ui/subsurfacewebservices.cpp +++ b/qt-ui/subsurfacewebservices.cpp @@ -111,7 +111,6 @@ static char *prepare_dives_for_divelogs(const bool selected) xmlDoc *transformed; struct zip_source *s[dive_table.nr]; struct zip *zip; - char *error = NULL; const QString errPrefix("divelog.de-upload:"); /* generate a random filename and create/open that file with zip_open */ @@ -755,7 +754,6 @@ void DivelogsDeWebServices::downloadFinished() // now allow the user to cancel or accept ui.buttonBox->button(QDialogButtonBox::Apply)->setEnabled(true); -close_zip: zip_close(zip); zipFile.close(); } |