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

@@ -85,7 +85,6 @@ HListView {
open = false
}
visible: opacity > 0
opacity: open && count ? 1 : 0
bottomMargin: theme.spacing / 2

View File

@@ -14,7 +14,6 @@ Rectangle {
property alias buttonModel: bannerRepeater.model
property var buttonCallbacks: []
implicitHeight: childrenRect.height
color: theme.controls.box.background

View File

@@ -9,7 +9,6 @@ Banner {
property string inviterName: chat.roomInfo.inviter_name
property string inviterAvatar: chat.roomInfo.inviter_avatar
color: theme.chat.inviteBanner.background
avatar.userId: inviterId

View File

@@ -46,7 +46,6 @@ Item {
replyToDisplayName = ""
}
onFocusChanged: if (focus && loader.item) loader.item.composer.takeFocus()
onReadyChanged: longLoading = false

View File

@@ -30,7 +30,6 @@ HColumnPage {
anchors.fill: parent
}
padding: 0
column.spacing: 0

View File

@@ -16,7 +16,6 @@ Rectangle {
function takeFocus() { messageArea.forceActiveFocus() }
implicitHeight: Math.max(theme.baseElementsHeight, row.implicitHeight)
color: theme.chat.composer.background

View File

@@ -125,7 +125,6 @@ HTextArea {
clearReplyTo()
}
saveName: "composer"
saveId: [chat.roomId, chat.userId]

View File

@@ -30,7 +30,6 @@ HColumnLayout {
)
}
Behavior on height { HNumberAnimation {} }
DelegateTransitionFixer {}

View File

@@ -13,7 +13,6 @@ Rectangle {
readonly property alias transferCount: transferList.count
implicitWidth: 800
implicitHeight: firstDelegate ? firstDelegate.height : 0
color: theme.chat.fileTransfer.background

View File

@@ -11,7 +11,6 @@ Rectangle {
readonly property alias icon: icon
readonly property alias label: label
implicitHeight: label.text ? rowLayout.height : 0
opacity: implicitHeight ? 1 : 0

View File

@@ -12,7 +12,6 @@ InfoBar {
signal cancel()
color: theme.chat.replyBar.background
icon.svgName: "reply-to"
label.textFormat: Text.StyledText

View File

@@ -16,7 +16,6 @@ Rectangle {
readonly property bool center:
showLeftButton || window.settings.Chat.always_center_header
implicitHeight: theme.baseElementsHeight
color: theme.chat.roomHeader.background

View File

@@ -25,7 +25,6 @@ HFlickableColumnPage {
stackView.pop()
}
footer: AutoDirectionLayout {
PositiveButton {
text: qsTr("They're the same")

View File

@@ -10,7 +10,6 @@ import "../../../../Base/HTile"
HTile {
id: deviceTile
property string userId
property string deviceOwner
property string deviceOwnerDisplayName
@@ -18,7 +17,6 @@ HTile {
signal trustSet(bool trust)
backgroundColor: "transparent"
rightPadding: theme.spacing / 2
compact: false

View File

@@ -37,7 +37,6 @@ HListView {
focusOnExit.forceActiveFocus()
}
clip: true
bottomMargin: theme.spacing
model: ListModel {}

View File

@@ -14,7 +14,6 @@ HColumnLayout {
readonly property alias viewDepth: stackView.depth
readonly property alias filterField: filterField
Connections {
target: pageLoader
onAboutToRecycle: {
@@ -130,7 +129,6 @@ HColumnLayout {
}
}
Keys.forwardTo: [stackView.currentItem]
Keys.priority: Keys.AfterItem

View File

@@ -24,7 +24,6 @@ MultiviewPane {
swipeView.currentItem.keybindFocusItem.forceActiveFocus()
}
saveName: "roomPane"
edge: Qt.RightEdge
@@ -42,7 +41,6 @@ MultiviewPane {
buttonsBackgroundColor: theme.chat.roomPane.topBar.background
background: Rectangle { color: theme.chat.roomPane.background }
buttonRepeater.model: [
"back", "members", "files", "notifications", "history", "settings"
]

View File

@@ -55,7 +55,6 @@ HFlickableColumnPage {
forbidGuestsCheckBox.reset()
}
enableFlickShortcuts: ! chat.composerHasFocus
background: Rectangle {

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

View File

@@ -8,7 +8,6 @@ import "../../Base"
InfoBar {
property var typingMembers: []
color: theme.chat.typingMembers.background
icon.svgName: "typing" // TODO: animate
label.textFormat: Text.StyledText