bugfix:the undocked app's preview show and hide cause crash

Change-Id: I85bc7e74a3d35572bcaf6fcbb8d0006d41869ca3
This commit is contained in:
杨万青 2015-09-25 14:15:11 +08:00
parent d8cb8bf3cf
commit d65a3bf904
Notes: Deepin Code Review 2016-06-14 07:19:47 +00:00
Verified+1: Anonymous Coward #1000004
Code-Review+2: <mr.asianwang@gmail.com>
Submitted-by: <mr.asianwang@gmail.com>
Submitted-at: Fri, 25 Sep 2015 14:34:26 +0800
Reviewed-on: https://cr.deepin.io/7389
Project: dde/dde-dock
Branch: refs/heads/master

View File

@ -394,7 +394,6 @@ QString AppItem::getMenuContent()
AppItem::~AppItem()
{
if (m_preview)
m_preview->deleteLater();
}