Fix tooltip&preview window background color

Change-Id: If2c44e3d3f9ffa8853f38ec92c6164c434e611c3
This commit is contained in:
Hualet Wang 2017-04-28 11:25:50 +08:00
parent f8a86bdf8e
commit b5982c77bc
Notes: Deepin Code Review 2017-04-28 16:23:38 +08:00
Code-Review+2: Hualet Wang <mr.asianwang@gmail.com>
Verified+1: Hualet Wang <mr.asianwang@gmail.com>
Submitted-by: Hualet Wang <mr.asianwang@gmail.com>
Submitted-at: Fri, 28 Apr 2017 16:23:36 +0800
Reviewed-on: https://cr.deepin.io/22679
Project: dde/dde-dock
Branch: refs/heads/master

View File

@ -20,7 +20,7 @@ DockPopupWindow::DockPopupWindow(QWidget *parent)
m_acceptDelayTimer->setSingleShot(true);
m_acceptDelayTimer->setInterval(100);
setBackgroundColor(QColor(16, 16, 16, 217));
setBackgroundColor(DBlurEffectWidget::DarkColor);
setBorderColor(QColor(255, 255, 255, 255 * 0.05));
setWindowFlags(Qt::X11BypassWindowManagerHint | Qt::WindowStaysOnTopHint);
setAttribute(Qt::WA_InputMethodEnabled, false);