Qt: initialize the docking controller view status
authorJihye Won <jihye.won1@samsung.com>
Sun, 25 Oct 2015 10:15:47 +0000 (19:15 +0900)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Wed, 28 Oct 2015 01:37:26 +0000 (10:37 +0900)
When DockingConView object is created,
the mouse button state is naturally relased.
So, conViewStat should be initialized
as CONVIEW_RELEASED in the constructor of DockingConView.

Change-Id: I849582317075c10d2126c478ac7f6eec51f0dd3a
Signed-off-by: Jihye Won <jihye.won1@samsung.com>
tizen/src/ui/controller/dockingconview.cpp

index b2c4dca5dba5ed1351c9e055098bc0c2a1191e9f..8383c76e2778b1f66889182d2194122f90d1245d 100644 (file)
@@ -36,6 +36,7 @@ DockingConView::DockingConView(QWidget *parent,
     ControllerForm *conForm, QGraphicsScene *scene) : SkinView(parent, scene)
 {
     this->parent = (DockingController *)parent;
+    this->conViewStat = CONVIEW_RELEASED;
 
     setFocusPolicy(Qt::NoFocus);
     setStyleSheet("background: transparent");