Commit 2ffcdf8b authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: avoid a crash

Close #6466
parent 1867ce0e
...@@ -194,11 +194,15 @@ void ActionsManager::AudioDown() ...@@ -194,11 +194,15 @@ void ActionsManager::AudioDown()
void ActionsManager::skipForward() void ActionsManager::skipForward()
{ {
THEMIM->getIM()->jumpFwd(); input_thread_t *p_input = THEMIM->getInput();
if( p_input )
THEMIM->getIM()->jumpFwd();
} }
void ActionsManager::skipBackward() void ActionsManager::skipBackward()
{ {
THEMIM->getIM()->jumpBwd(); input_thread_t *p_input = THEMIM->getInput();
if( p_input )
THEMIM->getIM()->jumpBwd();
} }
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