diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-11-08 11:50:04 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-08 09:45:08 -0800 |
commit | a1ff14a48f06e15c863f6ef0ba31b15c7bb1696d (patch) | |
tree | 66f97460c4369d5f61fa3eb5e02e21b5a9c88760 /desktop-widgets/mainwindow.cpp | |
parent | 72b85e315194e5a2f58bad68ecb2fe2657e17bc7 (diff) | |
download | subsurface-a1ff14a48f06e15c863f6ef0ba31b15c7bb1696d.tar.gz |
Facebook Plugin is aware of it's connection status
This patch makes facebook plugin aware of it's connection status
enabling uploads only when connected, and hooking some things up.
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp index 12aed9c7a..14ba96772 100644 --- a/desktop-widgets/mainwindow.cpp +++ b/desktop-widgets/mainwindow.cpp @@ -258,7 +258,7 @@ MainWindow::MainWindow() : QMainWindow(), share_on->setData(QVariant::fromValue(plugin)); ui.menuShare_on->addAction(share_on); connections->addAction(toggle_connection); - connect(share_on, &QAction::triggered, [plugin](bool triggered) { plugin->requestUpload(); } + connect(share_on, &QAction::triggered, [plugin](bool triggered) { plugin->requestUpload(); }); } ui.menuShare_on->addSeparator(); ui.menuShare_on->addMenu(connections); |