[vlc-commits] [Git][videolan/vlc][master] qt: fix "show in explorer" action from playqueue contextual menu

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Fri Jul 2 10:18:46 UTC 2021



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
2a50c00c by Pierre Lamot at 2021-07-02T09:40:12+00:00
qt: fix "show in explorer" action from playqueue contextual menu

  fix: #25877

- - - - -


1 changed file:

- modules/gui/qt/menus/qml_menu_wrapper.cpp


Changes:

=====================================
modules/gui/qt/menus/qml_menu_wrapper.cpp
=====================================
@@ -740,8 +740,8 @@ void PlaylistContextMenu::popup(int currentIndex, QPoint pos )
 
         action = m_menu->addAction( qtr("Show Containing Directory...") );
         action->setIcon(QIcon(":/type/folder-grey.svg"));
-        connect(action, &QAction::triggered, [currentItem]( ) {
-            DialogsProvider::getInstance()->mediaInfoDialog(currentItem);
+        connect(action, &QAction::triggered, [this, currentItem]( ) {
+            m_controler->explore(currentItem);
         });
 
         m_menu->addSeparator();



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2a50c00c5234c1965e2b6921c104623515f3f3c0

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2a50c00c5234c1965e2b6921c104623515f3f3c0
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list