[Facebook] More debug calls

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2017-10-02 15:08:03 +02:00 committed by Dirk Hohndel
parent 3a564f412c
commit 3e2a86cf80
2 changed files with 3 additions and 2 deletions

View file

@ -362,6 +362,7 @@ void MainWindow::facebookLoggedOut()
void MainWindow::socialNetworkRequestConnect()
{
qDebug() << "Requesting connect on the social network";
QAction *action = qobject_cast<QAction*>(sender());
ISocialNetworkIntegration *plugin = qobject_cast<ISocialNetworkIntegration*>(action->data().value<QObject*>());
if (plugin->isConnected())