mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
i forgot break in switch statement
Change-Id: I1b9b39d01848b4a58dd16d00cb7325cc4611efbb
This commit is contained in:
parent
41b264859c
commit
d16c92a94b
Notes:
Deepin Code Review
2016-08-31 08:02:34 +00:00
Verified+1: Anonymous Coward #1000004 Code-Review+2: 石博文 <sbw@sbw.so> Submitted-by: 石博文 <sbw@sbw.so> Submitted-at: Wed, 31 Aug 2016 08:02:34 +0000 Reviewed-on: https://cr.deepin.io/15732 Project: dde/dde-dock Branch: refs/heads/master
@ -168,9 +168,9 @@ const QRect DockSettings::windowRect(const Position position, const bool hide) c
|
||||
switch (position)
|
||||
{
|
||||
case Top:
|
||||
case Bottom: size.setHeight(1);
|
||||
case Bottom: size.setHeight(1); break;
|
||||
case Left:
|
||||
case Right: size.setWidth(1);
|
||||
case Right: size.setWidth(1); break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user