summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mainwindow.h
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2017-04-16 11:41:29 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-04-16 07:43:23 -0700
commitf2d88619c58b748f0db20fdd2887d276ef79b0c1 (patch)
treeda18dd73a76b684861825bce8bfd6e4ca7a3aa41 /desktop-widgets/mainwindow.h
parenta5d54b04a7ff02f40537193181d00c3dadf59317 (diff)
downloadsubsurface-f2d88619c58b748f0db20fdd2887d276ef79b0c1.tar.gz
Restore FB grayed out when disconnected
See https://github.com/Subsurface-divelog/subsurface/issues/253. The original behaviour (greyed out when disconnected) is restored. Not sure where and when got lost, but this simple change fixes it. Fixes #253 Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'desktop-widgets/mainwindow.h')
-rw-r--r--desktop-widgets/mainwindow.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop-widgets/mainwindow.h b/desktop-widgets/mainwindow.h
index ee93c3b1e..0fcb1dd29 100644
--- a/desktop-widgets/mainwindow.h
+++ b/desktop-widgets/mainwindow.h
@@ -245,6 +245,7 @@ private:
WindowTitleUpdate *wtu;
GpsLocation *locationProvider;
QMenu *connections;
+ QAction *share_on_fb;
};
#endif // MAINWINDOW_H