mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-10-07 01:37:08 +02:00
Fix workshop upload and shadow
This commit is contained in:
parent
df4f63bd5c
commit
b0faa0435e
@ -100,8 +100,6 @@ Item {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Item {
|
||||
id: item2
|
||||
width: parent.width
|
||||
@ -124,7 +122,6 @@ Item {
|
||||
spread: 0.2
|
||||
cornerRadius: 15
|
||||
opacity: 0
|
||||
z:11
|
||||
visible: false
|
||||
}
|
||||
|
||||
@ -172,6 +169,12 @@ Item {
|
||||
visible: false
|
||||
color: "transparent"
|
||||
}
|
||||
PropertyChanges {
|
||||
target: effect1
|
||||
opacity: 0
|
||||
visible: false
|
||||
color: "transparent"
|
||||
}
|
||||
PropertyChanges {
|
||||
target: txtHeadline
|
||||
opacity: 0
|
||||
@ -192,7 +195,13 @@ Item {
|
||||
}
|
||||
PropertyChanges {
|
||||
target: effect
|
||||
opacity: .4
|
||||
opacity: .3
|
||||
color: "black"
|
||||
visible: true
|
||||
}
|
||||
PropertyChanges {
|
||||
target: effect1
|
||||
opacity: .3
|
||||
color: "black"
|
||||
visible: true
|
||||
}
|
||||
|
@ -49,7 +49,6 @@ void SteamWorkshop::submitWorkshopItem(QString title, QString description, QStri
|
||||
tmp.setFile(projectFile.toString());
|
||||
absoluteContentPath = tmp.path();
|
||||
absoluteContentPath = absoluteContentPath.replace("file:///", "");
|
||||
absoluteContentPath += "/";
|
||||
projectConfig.setFileName(absoluteContentPath + "/project.json");
|
||||
|
||||
QJsonObject jsonObject;
|
||||
@ -66,7 +65,7 @@ void SteamWorkshop::submitWorkshopItem(QString title, QString description, QStri
|
||||
}
|
||||
|
||||
jsonObject = jsonProject.object();
|
||||
QString preview = absoluteContentPath + jsonObject.value("preview").toString();
|
||||
QString preview = absoluteContentPath +"/"+ jsonObject.value("preview").toString();
|
||||
//absoluteContentPath = absoluteContentPath.replace("/", "\\\\");
|
||||
|
||||
SteamUGC()->SetItemTitle(m_UGCUpdateHandle, QByteArray(title.toLatin1()).data());
|
||||
|
Loading…
Reference in New Issue
Block a user