[vlc-commits] [Git][videolan/vlc][3.0.x] qt: allow opening links from module's help text

Steve Lhomme (@robUx4) gitlab at videolan.org
Tue Apr 11 08:46:15 UTC 2023



Steve Lhomme pushed to branch 3.0.x at VideoLAN / VLC


Commits:
5478dc02 by Maxim Biro at 2023-04-11T06:18:04+00:00
qt: allow opening links from module's help text

Primarily useful for out-of-tree plugins, in case they want to link to
plugin's home page, bug tracker, donation page, etc.

refs #27798, !3203

Backport of a feature doing only minimal changes:
faf8b85ac3e55bc95cfd80f914e8537c47d2c1a5
caf143311e00acf24533b498890df2e57a7a80e2

- - - - -


1 changed file:

- modules/gui/qt/components/complete_preferences.cpp


Changes:

=====================================
modules/gui/qt/components/complete_preferences.cpp
=====================================
@@ -651,6 +651,7 @@ AdvPrefsPanel::AdvPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
 
     QLabel *helpLabel = new QLabel( help, this );
     helpLabel->setWordWrap( true );
+    helpLabel->setOpenExternalLinks( true );
 
     global_layout->addWidget( titleLabel );
     global_layout->addWidget( title_line );



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/5478dc024914c707b97fa8326c70fc00673725b1

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/5478dc024914c707b97fa8326c70fc00673725b1
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