diff options
author | Michele Calgaro <[email protected]> | 2023-08-08 12:22:01 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-08 18:01:58 +0900 |
commit | e1feb0d70ede96e4407bb091220561b099dc781f (patch) | |
tree | 2a12bb8ff9379ef712241aaed8f595211a29a931 | |
parent | 4b89942b29a1a6a8fbb975cdd606cfea2cc47fcb (diff) | |
download | tdenetwork-e1feb0d70ede96e4407bb091220561b099dc781f.tar.gz tdenetwork-e1feb0d70ede96e4407bb091220561b099dc781f.zip |
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 214a5ef176c1b0f20402da9ddf018052f3b89fa5)
-rw-r--r-- | kpf/src/AppletItem.cpp | 2 | ||||
-rw-r--r-- | krfb/krfb/trayicon.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kpf/src/AppletItem.cpp b/kpf/src/AppletItem.cpp index b7a79a81..2a8e22d3 100644 --- a/kpf/src/AppletItem.cpp +++ b/kpf/src/AppletItem.cpp @@ -132,7 +132,7 @@ namespace KPF break; } - if (!TQT_TQRECT_OBJECT(rect()).contains(e->pos())) + if (!rect().contains(e->pos())) { break; } diff --git a/krfb/krfb/trayicon.cpp b/krfb/krfb/trayicon.cpp index 84018384..aa848f90 100644 --- a/krfb/krfb/trayicon.cpp +++ b/krfb/krfb/trayicon.cpp @@ -124,7 +124,7 @@ void TrayIcon::setDesktopControlSetting(bool b) { void TrayIcon::mousePressEvent(TQMouseEvent *e) { - if (!TQT_TQRECT_OBJECT(rect()).contains(e->pos())) + if (!rect().contains(e->pos())) return; if (e->button() == Qt::LeftButton) { |