Skip to content

Commit

Permalink
fix(dscrollarea): initialization with nullptr
Browse files Browse the repository at this point in the history
Change-Id: If2e397820a18cab8012ce087c2a1684e4b295868
  • Loading branch information
haruyukilxz committed Jun 26, 2018
1 parent dbd7077 commit a1e5697
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/widgets/dscrollarea.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ DScrollAreaPrivate::DScrollAreaPrivate(DScrollArea *qq):
autoHideScrollBar(false),
vBar(new DScrollBar),
hBar(new DScrollBar),
scrollBarAnimation(0),
timer(0)
scrollBarAnimation(nullptr),
timer(nullptr)
{

}
Expand Down

0 comments on commit a1e5697

Please sign in to comment.