The emoji panel shouldn't steal focus from other windows

This commit is contained in:
Konstantinos Sideris 2017-08-05 21:34:24 +03:00
parent 4aa613f846
commit 93e8297b61

View file

@ -42,6 +42,7 @@ EmojiPanel::EmojiPanel(QWidget *parent)
"QScrollBar::sub-line:vertical { border: none; background: none; }"); "QScrollBar::sub-line:vertical { border: none; background: none; }");
setAttribute(Qt::WA_TranslucentBackground, true); setAttribute(Qt::WA_TranslucentBackground, true);
setAttribute(Qt::WA_ShowWithoutActivating, true);
setWindowFlags(Qt::FramelessWindowHint | Qt::ToolTip); setWindowFlags(Qt::FramelessWindowHint | Qt::ToolTip);
auto mainWidget = new QWidget(this); auto mainWidget = new QWidget(this);