mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-25 03:12:56 +00:00
remove unused static QClipboard variables
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
dfbfd3bf6f
commit
6ebd9eb1f7
1 changed files with 0 additions and 21 deletions
|
@ -85,10 +85,6 @@ static QWidget *requestor = 0;
|
|||
static bool timer_event_clear = false;
|
||||
static int timer_id = 0;
|
||||
|
||||
static int pending_timer_id = 0;
|
||||
static bool pending_clipboard_changed = false;
|
||||
static bool pending_selection_changed = false;
|
||||
|
||||
class QClipboardWatcher; // forward decl
|
||||
static QClipboardWatcher *selection_watcher = 0;
|
||||
static QClipboardWatcher *clipboard_watcher = 0;
|
||||
|
@ -778,23 +774,6 @@ bool QClipboard::event(QEvent *e)
|
|||
clipboardData()->clear();
|
||||
timer_event_clear = false;
|
||||
|
||||
return true;
|
||||
} else if (te->timerId() == pending_timer_id) {
|
||||
// I hate klipper
|
||||
killTimer(pending_timer_id);
|
||||
pending_timer_id = 0;
|
||||
|
||||
if (pending_clipboard_changed) {
|
||||
pending_clipboard_changed = false;
|
||||
clipboardData()->clear();
|
||||
emitChanged(QClipboard::Clipboard);
|
||||
}
|
||||
if (pending_selection_changed) {
|
||||
pending_selection_changed = false;
|
||||
selectionData()->clear();
|
||||
emitChanged(QClipboard::Selection);
|
||||
}
|
||||
|
||||
return true;
|
||||
} else if (te->timerId() == incr_timer_id) {
|
||||
killTimer(incr_timer_id);
|
||||
|
|
Loading…
Add table
Reference in a new issue