[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kbibtex] src/program/docklets: Removing unused configuration code
From: Thomas Fischer <fischer () unix-ag ! uni-kl ! de>
Date: 2016-11-26 21:53:09
Message-ID: E1cAkuD-0006O8-VM () code ! kde ! org
[Download RAW message or body]
Git commit a186488f7aa19709f13176b33d867699b7c71be1 by Thomas Fischer.
Committed on 26/11/2016 at 21:48.
Pushed by thomasfischer into branch 'master'.
Removing unused configuration code
Forward-port of commit 6dc8624a4dd49341b652b11 from branch
'kbibtex/0.7'.
M +1 -6 src/program/docklets/zoterobrowser.cpp
https://commits.kde.org/kbibtex/a186488f7aa19709f13176b33d867699b7c71be1
diff --git a/src/program/docklets/zoterobrowser.cpp \
b/src/program/docklets/zoterobrowser.cpp index 6b81548..f57c693 100644
--- a/src/program/docklets/zoterobrowser.cpp
+++ b/src/program/docklets/zoterobrowser.cpp
@@ -53,10 +53,6 @@ class ZoteroBrowser::Private
private:
ZoteroBrowser *p;
- KSharedConfigPtr config;
- static const QString configGroupName;
- static const QString configEntryNumericUserId, configEntryApiKey;
-
public:
Zotero::Items *items;
Zotero::Groups *groups;
@@ -85,7 +81,7 @@ public:
static const QString walletFolderOAuth, walletEntryKBibTeXZotero, \
walletKeyZoteroId, walletKeyZoteroApiKey;
Private(SearchResults *sr, ZoteroBrowser *parent)
- : p(parent), \
config(KSharedConfig::openConfig(QStringLiteral("kbibtexrc"))), items(NULL), \
groups(NULL), tags(NULL), tagModel(NULL), collection(NULL), collectionModel(NULL), \
needToApplyCredentials(true), searchResults(sr), comboBoxGroupListInitialized(false), \
nonBusyCursor(p->cursor()), wallet(NULL) { + : p(parent), items(NULL), \
groups(NULL), tags(NULL), tagModel(NULL), collection(NULL), collectionModel(NULL), \
needToApplyCredentials(true), searchResults(sr), comboBoxGroupListInitialized(false), \
nonBusyCursor(p->cursor()), wallet(NULL) { setupGUI();
}
@@ -203,7 +199,6 @@ public:
}
};
-const QString ZoteroBrowser::Private::configGroupName = \
QStringLiteral("ZoteroBrowser"); const QString \
ZoteroBrowser::Private::walletFolderOAuth = QStringLiteral("OAuth"); const QString \
ZoteroBrowser::Private::walletEntryKBibTeXZotero = QStringLiteral("KBibTeX/Zotero"); \
const QString ZoteroBrowser::Private::walletKeyZoteroId = QStringLiteral("UserId");
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic