diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-01-01 22:19:08 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-01-01 22:19:08 -0800 |
commit | c39fbea0eef85982f00cc0f0c3b77e6aaddd260b (patch) | |
tree | 773e99e949ccb8ecf6be5819f174c2e8ccd28576 /desktop-widgets/mainwindow.cpp | |
parent | 7312cfc2d0471b5ed8993cb7a94a8da86627a6a3 (diff) | |
download | subsurface-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.cpp | 2 |
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); |