The emoji panel shouldn't steal focus from other windows
This commit is contained in:
parent
4aa613f846
commit
93e8297b61
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user