1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-06 19:12:30 +01:00

Fix wizard paths

This commit is contained in:
Elias Steurer 2022-11-04 16:31:04 +01:00
parent c90ff892ba
commit dc773094e6
2 changed files with 5 additions and 5 deletions

View File

@ -60,7 +60,7 @@ void Wizards::createQMLWidget(const QString& title,
return; return;
} }
if (!Util::writeFileFromQrc(":/qml/Create/WizardsFiles/QMLWidgetMain.qml", workingPath + "main.qml")) { if (!Util::writeFileFromQrc(":/qml/ScreenPlayApp/qml/Create/WizardsFiles/QMLWidgetMain.qml", workingPath + "main.qml")) {
qWarning() << "Could not write main.qml"; qWarning() << "Could not write main.qml";
emit widgetCreationFinished(WizardResult::WriteProjectFileError); emit widgetCreationFinished(WizardResult::WriteProjectFileError);
return; return;
@ -126,7 +126,7 @@ void Wizards::createHTMLWidget(const QString& title,
return; return;
} }
if (!Util::writeFileFromQrc(":/qml/Create/WizardsFiles/HTMLWidgetMain.html", workingPath + "/index.html")) { if (!Util::writeFileFromQrc(":/qml/ScreenPlayApp/qml/Create/WizardsFiles/HTMLWidgetMain.html", workingPath + "/index.html")) {
qWarning() << "Could not write HTMLWidgetMain.html"; qWarning() << "Could not write HTMLWidgetMain.html";
emit widgetCreationFinished(WizardResult::WriteProjectFileError); emit widgetCreationFinished(WizardResult::WriteProjectFileError);
return; return;
@ -194,7 +194,7 @@ void Wizards::createHTMLWallpaper(
return; return;
} }
if (!Util::writeFileFromQrc(":/qml/Create/WizardsFiles/HTMLWallpaperMain.html", workingPath + "/index.html")) { if (!Util::writeFileFromQrc(":/qml/ScreenPlayApp/qml/Create/WizardsFiles/HTMLWallpaperMain.html", workingPath + "/index.html")) {
qWarning() << "Could not write HTMLWallpaperMain.html"; qWarning() << "Could not write HTMLWallpaperMain.html";
emit widgetCreationFinished(WizardResult::WriteProjectFileError); emit widgetCreationFinished(WizardResult::WriteProjectFileError);
return; return;
@ -273,7 +273,7 @@ void Wizards::createQMLWallpaper(
return; return;
} }
if (!Util::writeFileFromQrc(":/qml/Create/WizardsFiles/QMLWallpaperMain.qml", workingPath + "/main.qml")) { if (!Util::writeFileFromQrc(":/qml/ScreenPlayApp/qml/Create/WizardsFiles/QMLWallpaperMain.qml", workingPath + "/main.qml")) {
qWarning() << "Could not write main.qml"; qWarning() << "Could not write main.qml";
return; return;
} }

View File

@ -77,7 +77,7 @@ ColumnLayout {
ListElement { ListElement {
name: "All rights reserved" name: "All rights reserved"
description: qsTr("You do not share any rights and nobody is allowed to use or remix it (Not recommended). Can also used to credit work others.") description: qsTr("You do not share any rights and nobody is allowed to use or remix it (Not recommended). Can also used to credit work others.")
tldrlegal: "License_All_Rights_Reserved_1.0.txt" licenseFile: "License_All_Rights_Reserved_1.0.txt"
} }
} }