Remove double blank lines from QML files
This commit is contained in:
@@ -84,7 +84,6 @@ HRowLayout {
|
||||
|
||||
readonly property alias selectedText: contentLabel.selectedPlainText
|
||||
|
||||
|
||||
spacing: theme.chat.message.horizontalSpacing
|
||||
layoutDirection: onRight ? Qt.RightToLeft: Qt.LeftToRight
|
||||
|
||||
|
@@ -33,7 +33,6 @@ HMenu {
|
||||
menu.popup()
|
||||
}
|
||||
|
||||
|
||||
onClosed: {
|
||||
hoveredLink = ""
|
||||
eventIndex = -1
|
||||
|
@@ -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
|
||||
|
@@ -13,7 +13,6 @@ HTile {
|
||||
|
||||
property EventMediaLoader loader
|
||||
|
||||
|
||||
width: Math.min(
|
||||
eventDelegate.width,
|
||||
eventContent.maxMessageWidth,
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -33,7 +33,6 @@ HLoader {
|
||||
|
||||
readonly property bool hovered: item ? item.hovered : false
|
||||
|
||||
|
||||
visible: Boolean(item)
|
||||
x: eventContent.spacing
|
||||
|
||||
|
Reference in New Issue
Block a user