[Facebook] Remove dead code

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 11:59:34 +02:00 committed by Dirk Hohndel
parent 8b5c5674b1
commit ba8e6878a8

View file

@ -31,15 +31,6 @@
#include "ui_socialnetworksdialog.h"
#include "ui_facebookconnectwidget.h"
#if SAVE_FB_CREDENTIALS
#define GET_TXT(name, field) \
v = s.value(QString(name)); \
if (v.isValid()) \
prefs.field = strdup(v.toString().toUtf8().constData()); \
else \
prefs.field = default_prefs.field
#endif
FacebookManager *FacebookManager::instance()
{
static FacebookManager *self = new FacebookManager();