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