Commit 79ad0558 authored by Anton Karmanov's avatar Anton Karmanov Committed by Kurt Hindenburg
Browse files

Add ViewSplitter::showEvent()

New ViewSplitter showEvent() method override sets focus proxy before
showing the MainWindow. It is userful for background mode to keep active
terminal focused.

BUG: 411543
(cherry picked from commit b741e9cd)
parent dcf8cf3f
......@@ -355,4 +355,8 @@ void Konsole::ViewSplitter::dropEvent(QDropEvent* ev)
void Konsole::ViewSplitter::showEvent(QShowEvent *)
// Fixes lost focus in background mode.
......@@ -125,6 +125,7 @@ protected:
void dragMoveEvent(QDragMoveEvent *ev) override;
void dragLeaveEvent(QDragLeaveEvent * event) override;
void dropEvent(QDropEvent *ev) override;
void showEvent(QShowEvent *) override;
void terminalDisplayDropped(TerminalDisplay *terminalDisplay);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment