aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2015-01-28 08:05:34 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-28 07:36:34 -0800
commit991531d847cc39f39fcd9a02c9e6fcb12178a807 (patch)
treefa61cb0ef19f345e89e90b628887fdc84fe2a8c7 /qt-ui
parentbc7d233365eecbc99856da9054146c112312a338 (diff)
downloadsubsurface-991531d847cc39f39fcd9a02c9e6fcb12178a807.tar.gz
Let notes expand to full with fbsupport off
This hides the whole QWidget with the share-to-fb button in it. This lets the Notes field expand to the full width. 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/maintab.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index 23be491b9..c247b77d0 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -189,6 +189,7 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent),
ui.facebookPublish->setVisible(fb->loggedIn());
#else
ui.facebookPublish->setVisible(false);
+ ui.socialNetworks->setVisible(false);
#endif
acceptingEdit = false;