aboutsummaryrefslogtreecommitdiff
path: root/src/ui/dock.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2010-03-11 18:46:25 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2010-03-11 18:46:25 +0000
commit013ee07b55a3738b28b5d46324392d8498b50f2b (patch)
tree50979d3872a15fd3e25a746418da0f56c8e8dadd /src/ui/dock.cpp
parent542c1d2d3a26ce23b1d0668011b420db231334d2 (diff)
downloadqmmp-013ee07b55a3738b28b5d46324392d8498b50f2b.tar.gz
qmmp-013ee07b55a3738b28b5d46324392d8498b50f2b.tar.bz2
qmmp-013ee07b55a3738b28b5d46324392d8498b50f2b.zip
removed obsolete members
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1619 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/ui/dock.cpp')
-rw-r--r--src/ui/dock.cpp8
1 files changed, 4 insertions, 4 deletions
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;
}