diff --git a/example-script/example-script.qml b/example-script/example-script.qml index f16a265..9d78404 100644 --- a/example-script/example-script.qml +++ b/example-script/example-script.qml @@ -4,7 +4,7 @@ import QtQml 2.0 * This script is just an example of how to use scripts * Visit http://docs.qownnotes.org/ for more information about scripting */ -QtObject { +Script { /** * Just show some log entries when the script is initialized */ diff --git a/external-note-diff/external-note-diff.qml b/external-note-diff/external-note-diff.qml index 360c075..6e01c16 100644 --- a/external-note-diff/external-note-diff.qml +++ b/external-note-diff/external-note-diff.qml @@ -37,7 +37,7 @@ Script { return; } - // start the diff programm with the selected note paths as parameters + // start the diff program with the selected note paths as parameters var params = script.selectedNotesPaths(); script.startDetachedProcess(executablePath, params); }