drop semicolon from qml files, update CONTRIBUTING guide accordingly

This commit is contained in:
2016-09-15 07:26:00 +03:00
parent 87652eb774
commit f9ddf690c7
13 changed files with 31 additions and 21 deletions

View File

@ -71,7 +71,7 @@ Item {
horizontalAlignment: Text.AlignLeft
textFormat: Text.RichText
text: dpAdds.getAboutText("links")
onLinkActivated: Qt.openUrlExternally(link);
onLinkActivated: Qt.openUrlExternally(link)
}
QtControls.Label {
@ -104,7 +104,7 @@ Item {
horizontalAlignment: Text.AlignJustify
textFormat: Text.RichText
text: dpAdds.getAboutText("3rdparty")
onLinkActivated: Qt.openUrlExternally(link);
onLinkActivated: Qt.openUrlExternally(link)
}
QtControls.Label {
@ -115,7 +115,7 @@ Item {
verticalAlignment: Text.AlignTop
textFormat: Text.RichText
text: dpAdds.getAboutText("thanks")
onLinkActivated: Qt.openUrlExternally(link);
onLinkActivated: Qt.openUrlExternally(link)
}
}
}

View File

@ -138,7 +138,7 @@ Item {
for (var i = 0; i < model.length; i++) {
if (model[i]["name"] == plasmoid.configuration.currentFontWeight) {
if (debug) console.info("Found", model[i]["name"], "on", i)
fontWeight.currentIndex = i;
fontWeight.currentIndex = i
}
}
}
@ -175,7 +175,7 @@ Item {
for (var i = 0; i < model.length; i++) {
if (model[i]["name"] == plasmoid.configuration.currentFontStyle) {
if (debug) console.info("Found", model[i]["name"], "on", i)
fontStyle.currentIndex = i;
fontStyle.currentIndex = i
}
}
}

View File

@ -188,7 +188,7 @@ Item {
for (var i = 0; i < model.length; i++) {
if (model[i]["name"] == plasmoid.configuration.tooltipType) {
if (debug) console.info("Found", model[i]["name"], "on", i)
tooltipType.currentIndex = i;
tooltipType.currentIndex = i
}
}
}

View File

@ -138,7 +138,7 @@ Item {
for (var i = 0; i < model.length; i++) {
if (model[i]["name"] == plasmoid.configuration.fontWeight) {
if (debug) console.info("Found", model[i]["name"], "on", i)
fontWeight.currentIndex = i;
fontWeight.currentIndex = i
}
}
}
@ -175,7 +175,7 @@ Item {
for (var i = 0; i < model.length; i++) {
if (model[i]["name"] == plasmoid.configuration.fontStyle) {
if (debug) console.info("Found", model[i]["name"], "on", i)
fontStyle.currentIndex = i;
fontStyle.currentIndex = i
}
}
}

View File

@ -83,7 +83,7 @@ Item {
MouseArea {
hoverEnabled: true
anchors.fill: parent
onClicked: dpAdds.setCurrentDesktop(index + 1);
onClicked: dpAdds.setCurrentDesktop(index + 1)
onEntered: needTooltipUpdate()
}

View File

@ -48,7 +48,7 @@ Item {
verticalAlignment: Text.AlignVCenter
wrapMode: Text.WordWrap
text: i18n("Detailed information may be found on <a href=\"https://arcanis.me/projects/awesome-widgets/\">project homepage</a>")
onLinkActivated: Qt.openUrlExternally(link);
onLinkActivated: Qt.openUrlExternally(link)
}
Row {