diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2017-10-02 11:59:34 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-10-02 08:51:19 -0700 |
commit | ba8e6878a8afcfc007534514f1df632ba00818cd (patch) | |
tree | 6bd6dcd1607c8d9b2cb562441c756b7fef55ab9f /desktop-widgets/plugins/facebook/facebookconnectwidget.cpp | |
parent | 8b5c5674b1aa7638ef0de2fd73f7780fd9121e86 (diff) | |
download | subsurface-ba8e6878a8afcfc007534514f1df632ba00818cd.tar.gz |
[Facebook] Remove dead code
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/plugins/facebook/facebookconnectwidget.cpp')
-rw-r--r-- | desktop-widgets/plugins/facebook/facebookconnectwidget.cpp | 9 |
1 files changed, 0 insertions, 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(); |