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
1 changed files with 1 additions and 0 deletions

View File

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