<commit_before>import QtQuick 2.2

WizardTemplate {
	id: page1

	wizardText.text: qsTr("Welcome to the Mounting Wizard! Here you can create and mount backends. " +
						  "You can only create backends if you have root administration rights.\n\n" +
						  "The name must be a valid keyname or start with / for cascading mountpoints.\n\n" +
						  "Please provide a mount point for the backend.\n\n" +
						  "Already used are: %1").arg(wizardLoader.usedNames)

	label.text: qsTr("Mount point:  ")

	buttonRow.finishButton.visible: false
	buttonRow.nextButton.action.enabled: textField.text !== ""
	buttonRow.nextButton.action.onTriggered: {
		if(textField.text.charAt(0) === "/")
			guiBackend.createBackend(textField.text)
		else
			guiBackend.createBackend("/" + textField.text)

		if(!error)
			loader.source = "Page2.qml"
	}
}<commit_msg>Fixed #165 (qt-gui: Mountpoints are always cascading)<commit_after>import QtQuick 2.2

WizardTemplate {
	id: page1

	wizardText.text: qsTr("Welcome to the Mounting Wizard! Here you can create and mount backends. " +
						  "You can only create backends if you have root administration rights.\n\n" +
						  "The name must be a valid keyname or start with / for cascading mountpoints.\n\n" +
						  "Please provide a mount point for the backend.\n\n" +
						  "Already used are: %1").arg(wizardLoader.usedNames)

	label.text: qsTr("Mount point:  ")

	buttonRow.finishButton.visible: false
	buttonRow.nextButton.action.enabled: textField.text !== ""
	buttonRow.nextButton.action.onTriggered: {
		guiBackend.createBackend(textField.text)
		if(!error)
			loader.source = "Page2.qml"
	}
}
{'fraction_non_alphanumeric': 0.11458333333333333, 'fraction_numerical': 0.00857843137254902, 'mean_word_length': 3.665714285714286, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1759761', 'n_tokens_mistral': 601, 'n_tokens_neox': 527, 'n_words': 144}