Commit 944bed93 authored by Peter Penz's avatar Peter Penz
Browse files

fixed crash when opening the Terminal embedded inside Dolphin

BUG: 153098

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=743223
parent 685c2567
...@@ -2290,7 +2290,7 @@ void TerminalDisplay::inputMethodEvent( QInputMethodEvent* event ) ...@@ -2290,7 +2290,7 @@ void TerminalDisplay::inputMethodEvent( QInputMethodEvent* event )
} }
QVariant TerminalDisplay::inputMethodQuery( Qt::InputMethodQuery query ) const QVariant TerminalDisplay::inputMethodQuery( Qt::InputMethodQuery query ) const
{ {
const QPoint cursorPos = _screenWindow->cursorPosition(); const QPoint cursorPos = _screenWindow ? _screenWindow->cursorPosition() : QPoint(0,0);
switch ( query ) switch ( query )
{ {
case Qt::ImMicroFocus: case Qt::ImMicroFocus:
......
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