diff options
Diffstat (limited to 'src/systemtray.cpp')
-rw-r--r-- | src/systemtray.cpp | 2 |
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(); |