From ba8e6878a8afcfc007534514f1df632ba00818cd Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Mon, 2 Oct 2017 11:59:34 +0200 Subject: [Facebook] Remove dead code Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- desktop-widgets/plugins/facebook/facebookconnectwidget.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp b/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp index 8872aee12..76ae63689 100644 --- a/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp +++ b/desktop-widgets/plugins/facebook/facebookconnectwidget.cpp @@ -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(); -- cgit v1.2.3-70-g09d2