Merge PR #260: Fix webserver public folder configuration
This commit is contained in:
commit
f1abf30689
@ -50,7 +50,7 @@ private:
|
|||||||
class WebServerConfiguration: public ServerConfiguration
|
class WebServerConfiguration: public ServerConfiguration
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_PROPERTY(QString publicFolder READ publicFolder NOTIFY publicFolderChanged)
|
Q_PROPERTY(QString publicFolder READ publicFolder WRITE setPublicFolder NOTIFY publicFolderChanged)
|
||||||
public:
|
public:
|
||||||
explicit WebServerConfiguration(const QString &id, const QHostAddress &address = QHostAddress(), int port = 0, bool authEnabled = false, bool sslEnabled = false, QObject *parent = nullptr)
|
explicit WebServerConfiguration(const QString &id, const QHostAddress &address = QHostAddress(), int port = 0, bool authEnabled = false, bool sslEnabled = false, QObject *parent = nullptr)
|
||||||
: ServerConfiguration(id, address, port, authEnabled, sslEnabled, parent) {}
|
: ServerConfiguration(id, address, port, authEnabled, sslEnabled, parent) {}
|
||||||
|
|||||||
@ -123,7 +123,6 @@ DeviceListPageBase {
|
|||||||
Item {
|
Item {
|
||||||
Layout.preferredWidth: shutterControls.implicitWidth
|
Layout.preferredWidth: shutterControls.implicitWidth
|
||||||
Layout.preferredHeight: app.iconSize * 2
|
Layout.preferredHeight: app.iconSize * 2
|
||||||
Rectangle { anchors.fill: parent; color: "green"; opacity: .3 }
|
|
||||||
ShutterControls {
|
ShutterControls {
|
||||||
id: shutterControls
|
id: shutterControls
|
||||||
height: parent.height
|
height: parent.height
|
||||||
|
|||||||
Reference in New Issue
Block a user