diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-11-08 10:51:50 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-08 09:44:40 -0800 |
commit | 486857f2b4264295a078de5dad541122186d22ab (patch) | |
tree | 75d4cd4b0f4e142f49765310e743f7a4a595d944 /desktop-widgets/mainwindow.cpp | |
parent | 70e6840d51d876b4d906f3af0a4be71bd3233e48 (diff) | |
download | subsurface-486857f2b4264295a078de5dad541122186d22ab.tar.gz |
Make it possible to connect to facebook again
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/mainwindow.cpp')
-rw-r--r-- | desktop-widgets/mainwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp index b9112c11a..740b38f76 100644 --- a/desktop-widgets/mainwindow.cpp +++ b/desktop-widgets/mainwindow.cpp @@ -260,6 +260,7 @@ MainWindow::MainWindow() : QMainWindow(), toggle_connection->setText(plugin->socialNetworkName()); toggle_connection->setIcon(QIcon(plugin->socialNetworkIcon())); toggle_connection->setData(QVariant::fromValue(plugin)); + connect(toggle_connection, &QAction::triggered, [plugin](bool triggered){ plugin->requestLogin(); }); QAction *share_on = new QAction(this); share_on->setText(plugin->socialNetworkName()); |