[vlc-commits] [Git][videolan/vlc][3.0.x] qt: make network URL comboBox case sensitive
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Thu Apr 14 18:21:12 UTC 2022
Jean-Baptiste Kempf pushed to branch 3.0.x at VideoLAN / VLC
Commits:
be2b153a by Sagar Kohli at 2022-04-14T17:22:07+00:00
qt: make network URL comboBox case sensitive
Fixes #19388
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
(cherry picked from commit 2931f2aca2c78df0444de05bb1a65a6f70a0468e)
- - - - -
1 changed file:
- modules/gui/qt/components/open_panels.cpp
Changes:
=====================================
modules/gui/qt/components/open_panels.cpp
=====================================
@@ -679,6 +679,9 @@ NetOpenPanel::NetOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
/* Use a simple validator for URLs */
ui.urlComboBox->setValidator( new UrlValidator( this ) );
+
+ /* QComboBox is by default case insensitive when editable */
+ ui.urlComboBox->completer()->setCaseSensitivity( Qt::CaseSensitive );
ui.urlComboBox->setFocus();
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/be2b153a43c754bcc4415383835d8ba53cccf897
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/be2b153a43c754bcc4415383835d8ba53cccf897
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list