summaryrefslogtreecommitdiffstats
path: root/src/systemtray.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-08 12:18:38 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-08 17:46:19 +0900
commit2fa133cf6bc4c884678bd4d829163164af8ac5b9 (patch)
treec37cfda3b5eec29ed3036881dc31c5ddc59548bd /src/systemtray.cpp
parent0cb23300070f6984b4f976f1c92984399a8aaa10 (diff)
downloadbasket-2fa133cf.tar.gz
basket-2fa133cf.zip
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 809cae7dcd9211781f6671f121c552dc3d5061b3)
Diffstat (limited to 'src/systemtray.cpp')
-rw-r--r--src/systemtray.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemtray.cpp b/src/systemtray.cpp
index a101e66..3616e25 100644
--- a/src/systemtray.cpp
+++ b/src/systemtray.cpp
@@ -301,7 +301,7 @@ void SystemTray::mouseReleaseEvent(TQMouseEvent *event)
{
m_canDrag = false;
if (event->button() == Qt::LeftButton) // Show / hide main window
- if ( TQT_TQRECT_OBJECT(rect()).contains(event->pos()) ) { // Accept only if released in systemTray
+ if ( rect().contains(event->pos()) ) { // Accept only if released in systemTray
toggleActive();
emit showPart();
event->accept();