Enable emoji insertion menu item for nativetext manual test
Change-Id: I5a8a2179d60ca352da88dc45e42de87b81c6eca4 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
This commit is contained in:
parent
4d95b6dccd
commit
fab7ee3695
@ -253,6 +253,10 @@ public:
|
||||
mainLayout->setSizeConstraint(QLayout::SetFixedSize);
|
||||
setLayout(mainLayout);
|
||||
|
||||
// Enable emoji insertion shortcut on macOS
|
||||
auto *menuBar = new QMenuBar(this);
|
||||
menuBar->addMenu("Edit");
|
||||
|
||||
setMode(TextRenderer::QtRendering);
|
||||
setFocusPolicy(Qt::StrongFocus);
|
||||
setFocus();
|
||||
|
Loading…
x
Reference in New Issue
Block a user