summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mainwindow.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-01-01 22:19:08 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-01-01 22:19:08 -0800
commitc39fbea0eef85982f00cc0f0c3b77e6aaddd260b (patch)
tree773e99e949ccb8ecf6be5819f174c2e8ccd28576 /desktop-widgets/mainwindow.cpp
parent7312cfc2d0471b5ed8993cb7a94a8da86627a6a3 (diff)
downloadsubsurface-c39fbea0eef85982f00cc0f0c3b77e6aaddd260b.tar.gz
Facebook integration: keep the connections QMenu around
This way we can change the text, later. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/mainwindow.cpp')
-rw-r--r--desktop-widgets/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp
index 5231961c7..526a71a17 100644
--- a/desktop-widgets/mainwindow.cpp
+++ b/desktop-widgets/mainwindow.cpp
@@ -328,7 +328,7 @@ MainWindow::~MainWindow()
void MainWindow::setupSocialNetworkMenu()
{
#ifdef FBSUPPORT
- QMenu *connections = new QMenu(tr("Connect to"));
+ connections = new QMenu(tr("Connect to"));
FacebookPlugin *facebookPlugin = new FacebookPlugin();
QAction *toggle_connection = new QAction(this);
QObject *obj = qobject_cast<QObject*>(facebookPlugin);