summaryrefslogtreecommitdiffstats
path: root/qt-ui/divelistview.h
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2014-02-19 00:26:36 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-18 15:30:59 -0800
commit226b55893d78a3057c97e9d78fef450688631520 (patch)
tree2bd9474aed657631a4b583acc416a070e9b8957e /qt-ui/divelistview.h
parenta814a5c9046db7a3ecc352e5c257051dca41d839 (diff)
downloadsubsurface-226b55893d78a3057c97e9d78fef450688631520.tar.gz
Make lastUsedImageDir static to prevent a crash
Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divelistview.h')
-rw-r--r--qt-ui/divelistview.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/divelistview.h b/qt-ui/divelistview.h
index c77b85f24..f078a33f8 100644
--- a/qt-ui/divelistview.h
+++ b/qt-ui/divelistview.h
@@ -52,7 +52,7 @@ public slots:
void shiftTimes();
void loadImages();
void uploadToDivelogsDE();
- QString lastUsedImageDir();
+ static QString lastUsedImageDir();
signals:
void currentDiveChanged(int divenr);