mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
disable input method at popup window
Change-Id: Icf9517610202f6419320e1e3c9a669917bbdddd9
This commit is contained in:
parent
c0c5a3d83e
commit
223fe260c2
Notes:
Deepin Code Review
2016-09-01 08:29:09 +00:00
Verified+1: Anonymous Coward #1000004 Code-Review+2: 石博文 <sbw@sbw.so> Submitted-by: 石博文 <sbw@sbw.so> Submitted-at: Thu, 01 Sep 2016 08:29:09 +0000 Reviewed-on: https://cr.deepin.io/15781 Project: dde/dde-dock Branch: refs/heads/master
@ -21,6 +21,7 @@ DockPopupWindow::DockPopupWindow(QWidget *parent)
|
||||
m_acceptDelayTimer->setInterval(100);
|
||||
|
||||
setWindowFlags(Qt::X11BypassWindowManagerHint | Qt::WindowStaysOnTopHint);
|
||||
setAttribute(Qt::WA_InputMethodEnabled, false);
|
||||
|
||||
connect(m_acceptDelayTimer, &QTimer::timeout, this, &DockPopupWindow::accept);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user