The source project of this merge request has been removed.
Bugfix for scripts preferences dialog
Without this scriptDir()
called with non-empty argument return null object and on script's side
widget = forms.createWidgetFromUIFile(page,KTScriptingPlugin.scriptDir("email_notifications") + "emailconfig.ui")
crashes with warning to stdout.
This happens when user presses preferences button in scripts list (scripting plugin must be enabled, script must be turned on to enable its preferences button. Tested with email_notifications and autoremove scripts).