mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Fix login-required size and projectFiles warning
This commit is contained in:
parent
7602da6f92
commit
748135eef9
3 changed files with 4 additions and 3 deletions
|
@ -63,7 +63,7 @@ Windows.ScrollingWindow {
|
|||
name: "project-upload"
|
||||
PropertyChanges { target: avatarPackagerHeader; title: AvatarPackagerCore.currentAvatarProject.name }
|
||||
PropertyChanges { target: avatarUploader; visible: true }
|
||||
PropertyChanges { target: avatarPackagerFooter; color: "blue"; visible: false }
|
||||
PropertyChanges { target: avatarPackagerFooter; visible: false }
|
||||
}
|
||||
]
|
||||
|
||||
|
|
|
@ -185,7 +185,7 @@ Item {
|
|||
id: loginRequiredMessage
|
||||
|
||||
visible: !Account.loggedIn
|
||||
height: loginRequiredTextRow.height + 20
|
||||
height: !Account.loggedIn ? loginRequiredTextRow.height + 20 : 0
|
||||
|
||||
anchors {
|
||||
bottom: parent.bottom
|
||||
|
|
|
@ -28,7 +28,7 @@ class AvatarProject : public QObject {
|
|||
Q_OBJECT
|
||||
Q_PROPERTY(FST* fst READ getFST)
|
||||
|
||||
Q_PROPERTY(QStringList projectFiles MEMBER _projectFiles)
|
||||
Q_PROPERTY(QStringList projectFiles READ getProjectFiles NOTIFY projectFilesChanged)
|
||||
|
||||
Q_PROPERTY(QString projectFolderPath READ getProjectPath)
|
||||
Q_PROPERTY(QString projectFSTPath READ getFSTPath)
|
||||
|
@ -43,6 +43,7 @@ public:
|
|||
|
||||
Q_INVOKABLE MarketplaceItemUploader* upload(bool updateExisting);
|
||||
Q_INVOKABLE void openInInventory();
|
||||
Q_INVOKABLE QStringList getProjectFiles() const { return _projectFiles; }
|
||||
|
||||
/**
|
||||
* returns the AvatarProject or a nullptr on failure.
|
||||
|
|
Loading…
Reference in a new issue