From 9b5871523d3c05becd9bea1c8d882fc02e0b47c6 Mon Sep 17 00:00:00 2001 From: Weixuan Xiao Date: Sat, 26 Feb 2022 19:10:52 +0000 Subject: [PATCH] Fix macOS build due to the inappropriate QTimer pointer The type of `m_clipboardMonitorTimer` is unintentionally modified in 5d970ddd48d81a77a6769f21db9f65984650cb1b, which causes failing build on macOS. --- plugins/clipboard/clipboardlistener.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/clipboard/clipboardlistener.h b/plugins/clipboard/clipboardlistener.h index 171393e9e..030919893 100644 --- a/plugins/clipboard/clipboardlistener.h +++ b/plugins/clipboard/clipboardlistener.h @@ -47,7 +47,7 @@ private: void updateClipboard(QClipboard::Mode mode); #ifdef Q_OS_MAC - QTimer *m_clipboardMonitorTimer; + QTimer m_clipboardMonitorTimer; #endif KSystemClipboard *clipboard; };