Skip to content

Commit 0410b5b

Browse files
ControlIndicator.qml: cleanup comments
1 parent 3160132 commit 0410b5b

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

src/UI/toolbar/ControlIndicator.qml

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ Item {
149149
}
150150
}
151151

152+
// Allow takeover expiration time popup. When a request is received and takeover was allowed, this popup alerts
153+
// that after vehicle::REQUEST_OPERATOR_CONTROL_ALLOW_TAKEOVER_TIMEOUT_MSECS seconds, this GCS will change back to takeover not allowed, as per mavlink specs
152154
Component {
153155
id: allowTakeoverExpirationPopup
154156

@@ -201,25 +203,6 @@ Item {
201203
id: controlPopup
202204

203205
ToolIndicatorPage {
204-
// Rectangle {
205-
// id: popupBackground
206-
// anchors.fill: parent
207-
// color: qgcPal.window
208-
// radius: panelRadius
209-
210-
// Connections {
211-
// target: control
212-
// onTriggerAnimations: doColorAnimation()
213-
// }
214-
// function doColorAnimation() { colorAnimation.restart() }
215-
// SequentialAnimation on color {
216-
// id: colorAnimation
217-
// running: false
218-
// loops: 1
219-
// PropertyAnimation { to: qgcPal.windowShade; duration: 200 }
220-
// PropertyAnimation { to: qgcPal.window; duration: 200 }
221-
// }
222-
// }
223206

224207
ProgressTracker {
225208
id: sendRequestProgressTracker

0 commit comments

Comments
 (0)