summaryrefslogtreecommitdiffstats
path: root/klipper/toplevel.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2021-01-28 21:37:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2021-02-07 20:15:21 +0900
commite2158a0f0b1957b8b3eef886edbd7c5939bfc805 (patch)
treec0167902f4a4561236719bd9b5925b37b8f9fc21 /klipper/toplevel.h
parent364708d89e4fd7fdb49c14f5de29bc45a2d7c09b (diff)
downloadtdebase-e2158a0f0b1957b8b3eef886edbd7c5939bfc805.tar.gz
tdebase-e2158a0f0b1957b8b3eef886edbd7c5939bfc805.zip
Fixed random SEGV in Konqueror caused by klipper when the clipboard was being cleared. This resolves issue #147.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'klipper/toplevel.h')
-rw-r--r--klipper/toplevel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/klipper/toplevel.h b/klipper/toplevel.h
index 3dbdf440c..e48ab9d83 100644
--- a/klipper/toplevel.h
+++ b/klipper/toplevel.h
@@ -154,6 +154,7 @@ private slots:
void slotClearOverflow();
void slotCheckPending();
+ void slotDelayedSetClipboard();
private:
@@ -186,6 +187,8 @@ private:
bool bSynchronize :1;
bool bSelectionTextOnly :1;
bool bIgnoreImages :1;
+ bool bSavedSelectionMode :1;
+ bool bCheckForEmpty :1;
/**
* Avoid reacting to our own changes, using this
@@ -201,6 +204,7 @@ private:
TDEConfig* m_config;
TQTimer m_overflowClearTimer;
TQTimer m_pendingCheckTimer;
+ TQTimer m_setClipboardTimer;
bool m_pendingContentsCheck;
ClipboardPoll* poll;
static TDEAboutData* about_data;