Skip to content
Snippets Groups Projects
Commit ffc88b23 authored by akiraohgaki's avatar akiraohgaki
Browse files

Code cleanup

parent 564b82cb
No related branches found
No related tags found
No related merge requests found
...@@ -12,13 +12,14 @@ Window { ...@@ -12,13 +12,14 @@ Window {
id: app id: app
title: configHandler.getAppConfigApplication().name title: configHandler.getAppConfigApplication().name
visible: true
width: 400 width: 400
height: 200
minimumWidth: 400 minimumWidth: 400
minimumHeight: 200
maximumWidth: 800 maximumWidth: 800
height: 200
minimumHeight: 200
maximumHeight: 400 maximumHeight: 400
visible: true
function init() { function init() {
var metadata = ocsUrlHandler.metadata(); var metadata = ocsUrlHandler.metadata();
......
...@@ -5,10 +5,10 @@ import QtQuick.Controls 1.0 ...@@ -5,10 +5,10 @@ import QtQuick.Controls 1.0
ColumnLayout { ColumnLayout {
id: dialog id: dialog
visible: false
anchors.fill: parent anchors.fill: parent
anchors.margins: 12 anchors.margins: 12
spacing: 8 spacing: 8
visible: false
property alias icon: icon.source property alias icon: icon.source
property alias primaryText: primaryText.text property alias primaryText: primaryText.text
...@@ -33,9 +33,9 @@ ColumnLayout { ...@@ -33,9 +33,9 @@ ColumnLayout {
Image { Image {
id: icon id: icon
source: "" source: ""
visible: source.toString() ? true : false
Layout.preferredWidth: 32 Layout.preferredWidth: 32
Layout.preferredHeight: 32 Layout.preferredHeight: 32
visible: source.toString() ? true : false
} }
ColumnLayout { ColumnLayout {
Layout.fillWidth: true Layout.fillWidth: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment