Skip to content

Commit 0b02b60

Browse files
committed
Remove unnecessary connection
1 parent 7a25b8a commit 0b02b60

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/qml/main.qml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,7 @@ ApplicationWindow {
99
id: root
1010
visible: true
1111
flags: Qt.Window | (Settings.alwaysOnTop ? Qt.WindowStaysOnTopHint : 0)
12-
Connections {
13-
target: Stdin
14-
function onClosedChanged() {
15-
if (Stdin.closed) {
16-
title = "blobdrop"
17-
} else {
18-
title = "blobdrop (Reading stdin...)"
19-
}
20-
}
21-
}
12+
title: Stdin.closed ? "blobdrop" : "Reading from stdin..."
2213
width: 485
2314
height: 300
2415
Material.theme: Material.System

0 commit comments

Comments
 (0)