diff options
-rw-r--r-- | desktop-widgets/plugins/facebook/facebook_integration.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/desktop-widgets/plugins/facebook/facebook_integration.cpp b/desktop-widgets/plugins/facebook/facebook_integration.cpp index 58d757e87..b07d78f66 100644 --- a/desktop-widgets/plugins/facebook/facebook_integration.cpp +++ b/desktop-widgets/plugins/facebook/facebook_integration.cpp @@ -4,8 +4,7 @@ #include <QDebug> FacebookPlugin::FacebookPlugin(QObject* parent) : - fbConnectWidget(new FacebookConnectWidget()), - fbUploadDialog(new SocialNetworkDialog()) + fbConnectWidget(new FacebookConnectWidget()) { Q_UNUSED(parent) } @@ -40,5 +39,5 @@ void FacebookPlugin::requestUpload() { FacebookManager *instance = FacebookManager::instance(); if (instance->loggedIn()) - fbUploadDialog->exec(); + instance->sendDive(); } |