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>
This commit is contained in:
Jan Mulder 2017-04-16 11:41:29 +02:00 committed by Dirk Hohndel
parent a5d54b04a7
commit f2d88619c5
2 changed files with 10 additions and 6 deletions

View file

@ -245,6 +245,7 @@ private:
WindowTitleUpdate *wtu;
GpsLocation *locationProvider;
QMenu *connections;
QAction *share_on_fb;
};
#endif // MAINWINDOW_H