summaryrefslogtreecommitdiffstats
path: root/klipper/toplevel.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2021-01-28 21:37:43 +0900
committerMichele Calgaro <[email protected]>2021-02-08 10:49:36 +0900
commit123b68abcfc504925d720aa9239c070ea7b3fafe (patch)
tree085300663f5aea45093548bd6b60fd83099ddebe /klipper/toplevel.h
parentaa996d05e79d534b24626b69f6943aa52de725d4 (diff)
downloadtdebase-123b68abcfc504925d720aa9239c070ea7b3fafe.tar.gz
tdebase-123b68abcfc504925d720aa9239c070ea7b3fafe.zip
Fixed random SEGV in Konqueror caused by klipper when the clipboard was being cleared. This resolves issue #147.
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit e2158a0f0b1957b8b3eef886edbd7c5939bfc805)
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;