Commit 2900fe47 authored by Myriam Schweingruber's avatar Myriam Schweingruber 😳
Browse files

Fix a crash in amarok when opening the Script Console

The script console tries to write to a system folder instead of a user
 folder. Note to devs: always make sure to test a system installation,
 not just a local build.

Thanks to Johannes Huber for the quick fix suggestion.

BUG: 363176
parent 048ca3d5
......@@ -161,7 +161,7 @@ ScriptConsole::ScriptConsole( QWidget *parent )
if( m_savePath.isEmpty() )
m_savePath = KUrl( KStandardDirs::locate( "data", "amarok/scriptconsole/" ) ).path();
m_savePath = KUrl( KStandardDirs::locateLocal( "data", "amarok/scriptconsole/" ) ).path();
connect( m_debugger, SIGNAL(evaluationSuspended()), SLOT(slotEvaluationSuspended()) );
Supports Markdown
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