summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kpf/src/AppletItem.cpp2
-rw-r--r--krfb/krfb/trayicon.cpp2
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) {