Remove double blank lines from QML files

This commit is contained in:
miruka
2020-11-15 11:54:30 -04:00
parent 58257c0930
commit eed2cc4818
139 changed files with 0 additions and 162 deletions

View File

@@ -84,7 +84,6 @@ HRowLayout {
readonly property alias selectedText: contentLabel.selectedPlainText
spacing: theme.chat.message.horizontalSpacing
layoutDirection: onRight ? Qt.RightToLeft: Qt.LeftToRight

View File

@@ -33,7 +33,6 @@ HMenu {
menu.popup()
}
onClosed: {
hoveredLink = ""
eventIndex = -1

View File

@@ -45,7 +45,6 @@ HColumnLayout {
readonly property alias eventContent: eventContent
function dict() {
let event = eventList.model.get(model.index)
event = JSON.parse(JSON.stringify(event))
@@ -63,7 +62,6 @@ HColumnLayout {
eventList.toggleCheck(model.index)
}
width: eventList.width - eventList.leftMargin - eventList.rightMargin
// Needed because of eventList's MouseArea which steals the

View File

@@ -13,7 +13,6 @@ HTile {
property EventMediaLoader loader
width: Math.min(
eventDelegate.width,
eventContent.maxMessageWidth,

View File

@@ -67,7 +67,6 @@ HMxcImage {
Qt.openUrlExternally(loader.mediaUrl)
}
width: fitSize.width
height: fitSize.height
horizontalAlignment: Image.AlignLeft
@@ -86,7 +85,6 @@ HMxcImage {
loader.singleMediaInfo.media_crypt_dict
)
onCachedPathChanged:
eventList.thumbnailCachedPaths[loader.singleMediaInfo.id] = cachedPath

View File

@@ -17,7 +17,6 @@ Rectangle {
readonly property alias eventList: eventList
readonly property alias contextMenu: contextMenu
color: theme.chat.eventList.background
HShortcut {
@@ -222,7 +221,6 @@ Rectangle {
flickable: eventList
}
HListView {
id: eventList
@@ -501,7 +499,6 @@ Rectangle {
eventList.getLocalOrDownloadMedia(event, Qt.openUrlExternally)
}
anchors.fill: parent
enabled: ! window.anyPopup
clip: true

View File

@@ -33,7 +33,6 @@ HLoader {
readonly property bool hovered: item ? item.hovered : false
visible: Boolean(item)
x: eventContent.spacing