From 013ee07b55a3738b28b5d46324392d8498b50f2b Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Thu, 11 Mar 2010 18:46:25 +0000 Subject: removed obsolete members git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1619 90c681e8-e032-0410-971d-27865f9a5e38 --- src/ui/dock.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/ui/dock.cpp') diff --git a/src/ui/dock.cpp b/src/ui/dock.cpp index c41173710..d5d373e86 100644 --- a/src/ui/dock.cpp +++ b/src/ui/dock.cpp @@ -215,25 +215,25 @@ bool Dock::isDocked (QWidget* mv, QWidget* st) int nx = mv->x() - st->x(); int ny = abs (mv->y() - st->y() + mv->height()); if (ny < 2 && nx > -mv->width() && nx < st->width()) //above - return TRUE; + return true; /***********/ nx = mv->x() - st->x(); ny = abs (mv->y() - st->y() - st->height()); if (ny < 2 && nx > -mv->width() && nx < st->width()) //near - return TRUE; + return true; /**************/ nx = abs (mv->x() - st->x() + mv->width()); ny = mv->y() - st->y(); if (nx < 2 && ny > -mv->height() && ny < st->height()) //left - return TRUE; + return true; /*****************/ nx = abs (mv->x() - st->x() - st->width()); ny = mv->y() - st->y(); if (nx < 2 && ny > -mv->height() && ny < st->height()) //right - return TRUE; + return true; return FALSE; } -- cgit v1.2.3-13-gbd6f