summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRolf Eike Beer <eb@emlix.com>2016-07-13 09:48:15 (GMT)
committerRolf Eike Beer <kde@opensource.sf-tec.de>2016-07-13 17:28:15 (GMT)
commitdc1008fe0439c6fd607ac51e43591e1f8ba889a8 (patch)
tree5619e42798d85ce3e18de8f7921b3d8c8495d2c7
parent7b857a52cd8ad18a14e3be263aeb0b33f967544d (diff)
remove write-only member KGpgExternalActions::clipboardMode
-rw-r--r--kgpgexternalactions.cpp4
-rw-r--r--kgpgexternalactions.h2
2 files changed, 0 insertions, 6 deletions
diff --git a/kgpgexternalactions.cpp b/kgpgexternalactions.cpp
index f0e7a54..ea3aafb 100644
--- a/kgpgexternalactions.cpp
+++ b/kgpgexternalactions.cpp
@@ -429,10 +429,6 @@ void KGpgExternalActions::showDroppedFile(const QUrl &file)
void KGpgExternalActions::readOptions()
{
- clipboardMode = QClipboard::Clipboard;
- if (KGpgSettings::useMouseSelection() && kapp->clipboard()->supportsSelection())
- clipboardMode = QClipboard::Selection;
-
if (KGpgSettings::firstRun()) {
firstRun();
} else if (KGpgSettings::gpgConfigPath().isEmpty()) {
diff --git a/kgpgexternalactions.h b/kgpgexternalactions.h
index 9f2f2e8..bb83b96 100644
--- a/kgpgexternalactions.h
+++ b/kgpgexternalactions.h
@@ -16,7 +16,6 @@
#define _KGPGEXTERNALACTIONS_H
#include <QObject>
-#include <QClipboard>
#include <QPointer>
#include <QStringList>
@@ -69,7 +68,6 @@ private:
QStringList customDecrypt;
QPointer<KGpgFirstAssistant> m_assistant;
int compressionScheme;
- QClipboard::Mode clipboardMode;
KGpgItemModel *m_model;
QTemporaryFile *m_kgpgfoldertmp;