mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
70e6840d51
commit
486857f2b4
4 changed files with 10 additions and 2 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue