summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-02-23 05:24:34 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-02-23 05:24:34 +0100
commit7560972cacec20f90af492b53de3a132aee65793 (patch)
treea67549768a81f2d85074fdf4b249571c3bb454fa
parentMerge pull request #488 from Nheko-Reborn/scroll-view-thingy (diff)
downloadnheko-7560972cacec20f90af492b53de3a132aee65793.tar.xz
Fix qml formatting
-rw-r--r--resources/qml/RoomSettings.qml18
1 files changed, 9 insertions, 9 deletions
diff --git a/resources/qml/RoomSettings.qml b/resources/qml/RoomSettings.qml
index 58e34a8f..1165f472 100644
--- a/resources/qml/RoomSettings.qml
+++ b/resources/qml/RoomSettings.qml
@@ -1,6 +1,6 @@
+import Qt.labs.platform 1.1 as Platform
 import QtQuick 2.9
 import QtQuick.Controls 2.3
-import Qt.labs.platform 1.1 as Platform
 import QtQuick.Layouts 1.2
 import QtQuick.Window 2.3
 import im.nheko 1.0
@@ -115,20 +115,20 @@ ApplicationWindow {
 
             TextArea {
                 text: TimelineManager.escapeEmoji(roomSettings.roomTopic)
-		wrapMode: TextEdit.WordWrap
-		textFormat: TextEdit.RichText
+                wrapMode: TextEdit.WordWrap
+                textFormat: TextEdit.RichText
                 readOnly: true
                 background: null
                 selectByMouse: true
                 color: colors.text
-		horizontalAlignment: TextEdit.AlignHCenter
+                horizontalAlignment: TextEdit.AlignHCenter
+                onLinkActivated: TimelineManager.openLink(link)
 
-		onLinkActivated: TimelineManager.openLink(link);
+                CursorShape {
+                    anchors.fill: parent
+                    cursorShape: parent.hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor
+                }
 
-    CursorShape {
-        anchors.fill: parent
-        cursorShape: parent.hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor
-    }
             }
 
         }