[vlc-commits] [Git][videolan/vlc][master] 2 commits: qml: alert interface window in update pane when update status changes
Felix Paul Kühne (@fkuehne)
gitlab at videolan.org
Wed Oct 7 14:15:06 UTC 2026
Felix Paul Kühne pushed to branch master at VideoLAN / VLC
Commits:
5a3f81eb by Fatih Uzunoglu at 2026-10-07T16:05:54+02:00
qml: alert interface window in update pane when update status changes
- - - - -
0d473a2d by Fatih Uzunoglu at 2026-10-07T16:05:54+02:00
qt: alert update dialog when update status changes
- - - - -
2 changed files:
- modules/gui/qt/dialogs/help/help.cpp
- modules/gui/qt/maininterface/qml/UpdatePane.qml
Changes:
=====================================
modules/gui/qt/dialogs/help/help.cpp
=====================================
@@ -531,6 +531,14 @@ void UpdateDialog::updateUI( )
// waiting for the core to provide this information.
break;
}
+
+ if (isVisible())
+ {
+ if (const auto w = windowHandle())
+ {
+ w->alert(0);
+ }
+ }
}
#endif
=====================================
modules/gui/qt/maininterface/qml/UpdatePane.qml
=====================================
@@ -16,6 +16,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
import QtQuick
+import QtQuick.Window
import QtQuick.Layouts
import QtQuick.Templates as T
@@ -98,6 +99,14 @@ T.Pane {
}
}
+ onTextChanged: {
+ if (visible) {
+ const window = Window.window
+ if (window)
+ window.alert(0)
+ }
+ }
+
elide: Text.ElideRight
font.pixelSize: VLCStyle.fontSize_large
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/fc710473873eff7960725c1266a3ba50d4b673f6...0d473a2dcdad4a3051fb9c373755325a59dcf2b9
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/fc710473873eff7960725c1266a3ba50d4b673f6...0d473a2dcdad4a3051fb9c373755325a59dcf2b9
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help
More information about the vlc-commits
mailing list